Trait vfs::symlink::Symlink

source ·
pub trait Symlink: Node {
    // Required method
    fn read_target(
        &self,
    ) -> impl Future<Output = Result<Vec<u8>, Status>> + Send;

    // Provided methods
    fn list_extended_attributes(
        &self,
    ) -> impl Future<Output = Result<Vec<Vec<u8>>, Status>> + Send { ... }
    fn get_extended_attribute(
        &self,
        _name: Vec<u8>,
    ) -> impl Future<Output = Result<Vec<u8>, Status>> + Send { ... }
    fn set_extended_attribute(
        &self,
        _name: Vec<u8>,
        _value: Vec<u8>,
        _mode: SetExtendedAttributeMode,
    ) -> impl Future<Output = Result<(), Status>> + Send { ... }
    fn remove_extended_attribute(
        &self,
        _name: Vec<u8>,
    ) -> impl Future<Output = Result<(), Status>> + Send { ... }
}

Required Methods§

source

fn read_target(&self) -> impl Future<Output = Result<Vec<u8>, Status>> + Send

Provided Methods§

source

fn list_extended_attributes( &self, ) -> impl Future<Output = Result<Vec<Vec<u8>>, Status>> + Send

source

fn get_extended_attribute( &self, _name: Vec<u8>, ) -> impl Future<Output = Result<Vec<u8>, Status>> + Send

source

fn set_extended_attribute( &self, _name: Vec<u8>, _value: Vec<u8>, _mode: SetExtendedAttributeMode, ) -> impl Future<Output = Result<(), Status>> + Send

source

fn remove_extended_attribute( &self, _name: Vec<u8>, ) -> impl Future<Output = Result<(), Status>> + Send

Object Safety§

This trait is not object safe.

Implementors§