pub trait Node1ProxyInterface: Send + Sync {
    type GetAttrResponseFut: Future<Output = Result<(i32, NodeAttributes), Error>> + Send;
    type SetAttrResponseFut: Future<Output = Result<i32, Error>> + Send;
    type GetFlagsResponseFut: Future<Output = Result<(i32, OpenFlags), Error>> + Send;
    type SetFlagsResponseFut: Future<Output = Result<i32, Error>> + Send;
    type QueryFilesystemResponseFut: Future<Output = Result<(i32, Option<Box<FilesystemInfo>>), Error>> + Send;

    // Required methods
    fn clone(
        &self,
        flags: OpenFlags,
        object: ServerEnd<NodeMarker>
    ) -> Result<(), Error>;
    fn get_attr(&self) -> Self::GetAttrResponseFut;
    fn set_attr(
        &self,
        flags: NodeAttributeFlags,
        attributes: &NodeAttributes
    ) -> Self::SetAttrResponseFut;
    fn get_flags(&self) -> Self::GetFlagsResponseFut;
    fn set_flags(&self, flags: OpenFlags) -> Self::SetFlagsResponseFut;
    fn query_filesystem(&self) -> Self::QueryFilesystemResponseFut;
}

Required Associated Types§

Required Methods§

source

fn clone( &self, flags: OpenFlags, object: ServerEnd<NodeMarker> ) -> Result<(), Error>

source

fn get_attr(&self) -> Self::GetAttrResponseFut

source

fn set_attr( &self, flags: NodeAttributeFlags, attributes: &NodeAttributes ) -> Self::SetAttrResponseFut

source

fn get_flags(&self) -> Self::GetFlagsResponseFut

source

fn set_flags(&self, flags: OpenFlags) -> Self::SetFlagsResponseFut

source

fn query_filesystem(&self) -> Self::QueryFilesystemResponseFut

Implementors§

source§

impl Node1ProxyInterface for Node1Proxy

§

type GetAttrResponseFut = QueryResponseFut<(i32, NodeAttributes)>

§

type SetAttrResponseFut = QueryResponseFut<i32>

§

type GetFlagsResponseFut = QueryResponseFut<(i32, OpenFlags)>

§

type SetFlagsResponseFut = QueryResponseFut<i32>

§

type QueryFilesystemResponseFut = QueryResponseFut<(i32, Option<Box<FilesystemInfo>>)>