Trait fidl_fuchsia_io::NodeProxyInterface

source ·
pub trait NodeProxyInterface: Send + Sync {
Show 31 associated items type CloseResponseFut: Future<Output = Result<CloseableCloseResult, Error>> + Send; type QueryResponseFut: Future<Output = Result<Vec<u8>, Error>> + Send; 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; type GetConnectionInfoResponseFut: Future<Output = Result<ConnectionInfo, Error>> + Send; type GetAttributesResponseFut: Future<Output = Result<NodeGetAttributesResult, Error>> + Send; type UpdateAttributesResponseFut: Future<Output = Result<NodeUpdateAttributesResult, Error>> + Send; type SyncResponseFut: Future<Output = Result<NodeSyncResult, Error>> + Send; type GetExtendedAttributeResponseFut: Future<Output = Result<NodeGetExtendedAttributeResult, Error>> + Send; type SetExtendedAttributeResponseFut: Future<Output = Result<NodeSetExtendedAttributeResult, Error>> + Send; type RemoveExtendedAttributeResponseFut: Future<Output = Result<NodeRemoveExtendedAttributeResult, Error>> + Send; // Required methods fn clone2(&self, request: ServerEnd<CloneableMarker>) -> Result<(), Error>; fn close(&self) -> Self::CloseResponseFut; fn query(&self) -> Self::QueryResponseFut; 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; fn get_connection_info(&self) -> Self::GetConnectionInfoResponseFut; fn get_attributes( &self, query: NodeAttributesQuery, ) -> Self::GetAttributesResponseFut; fn update_attributes( &self, payload: &MutableNodeAttributes, ) -> Self::UpdateAttributesResponseFut; fn sync(&self) -> Self::SyncResponseFut; fn list_extended_attributes( &self, iterator: ServerEnd<ExtendedAttributeIteratorMarker>, ) -> Result<(), Error>; fn get_extended_attribute( &self, name: &[u8], ) -> Self::GetExtendedAttributeResponseFut; fn set_extended_attribute( &self, name: &[u8], value: ExtendedAttributeValue, mode: SetExtendedAttributeMode, ) -> Self::SetExtendedAttributeResponseFut; fn remove_extended_attribute( &self, name: &[u8], ) -> Self::RemoveExtendedAttributeResponseFut;
}

Required Associated Types§

Required Methods§

source

fn clone2(&self, request: ServerEnd<CloneableMarker>) -> Result<(), Error>

source

fn close(&self) -> Self::CloseResponseFut

source

fn query(&self) -> Self::QueryResponseFut

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

source

fn get_connection_info(&self) -> Self::GetConnectionInfoResponseFut

source

fn get_attributes( &self, query: NodeAttributesQuery, ) -> Self::GetAttributesResponseFut

source

fn update_attributes( &self, payload: &MutableNodeAttributes, ) -> Self::UpdateAttributesResponseFut

source

fn sync(&self) -> Self::SyncResponseFut

source

fn list_extended_attributes( &self, iterator: ServerEnd<ExtendedAttributeIteratorMarker>, ) -> Result<(), Error>

source

fn get_extended_attribute( &self, name: &[u8], ) -> Self::GetExtendedAttributeResponseFut

source

fn set_extended_attribute( &self, name: &[u8], value: ExtendedAttributeValue, mode: SetExtendedAttributeMode, ) -> Self::SetExtendedAttributeResponseFut

source

fn remove_extended_attribute( &self, name: &[u8], ) -> Self::RemoveExtendedAttributeResponseFut

Implementors§

source§

impl NodeProxyInterface for NodeProxy

§

type CloseResponseFut = QueryResponseFut<Result<(), i32>>

§

type QueryResponseFut = QueryResponseFut<Vec<u8>>

§

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>>)>

§

type GetConnectionInfoResponseFut = QueryResponseFut<ConnectionInfo>

§

type GetAttributesResponseFut = QueryResponseFut<Result<(MutableNodeAttributes, ImmutableNodeAttributes), i32>>

§

type UpdateAttributesResponseFut = QueryResponseFut<Result<(), i32>>

§

type SyncResponseFut = QueryResponseFut<Result<(), i32>>

§

type GetExtendedAttributeResponseFut = QueryResponseFut<Result<ExtendedAttributeValue, i32>>

§

type SetExtendedAttributeResponseFut = QueryResponseFut<Result<(), i32>>

§

type RemoveExtendedAttributeResponseFut = QueryResponseFut<Result<(), i32>>