fidl_fuchsia_io

Trait DirectoryProxyInterface

Source
pub trait DirectoryProxyInterface: Send + Sync {
Show 55 associated items type AdvisoryLockResponseFut: Future<Output = Result<AdvisoryLockingAdvisoryLockResult, Error>> + Send; 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 GetFlags2ResponseFut: Future<Output = Result<NodeGetFlags2Result, Error>> + Send; type SetFlags2ResponseFut: Future<Output = Result<NodeSetFlags2Result, 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; type ReadDirentsResponseFut: Future<Output = Result<(i32, Vec<u8>), Error>> + Send; type RewindResponseFut: Future<Output = Result<i32, Error>> + Send; type GetTokenResponseFut: Future<Output = Result<(i32, Option<Handle>), Error>> + Send; type LinkResponseFut: Future<Output = Result<i32, Error>> + Send; type UnlinkResponseFut: Future<Output = Result<DirectoryUnlinkResult, Error>> + Send; type RenameResponseFut: Future<Output = Result<DirectoryRenameResult, Error>> + Send; type CreateSymlinkResponseFut: Future<Output = Result<DirectoryCreateSymlinkResult, Error>> + Send; type WatchResponseFut: Future<Output = Result<i32, Error>> + Send; // Required methods fn advisory_lock( &self, request: &AdvisoryLockRequest, ) -> Self::AdvisoryLockResponseFut; fn clone(&self, request: ServerEnd<CloneableMarker>) -> Result<(), Error>; fn close(&self) -> Self::CloseResponseFut; fn query(&self) -> Self::QueryResponseFut; fn deprecated_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 get_flags2(&self) -> Self::GetFlags2ResponseFut; fn set_flags2(&self, flags: Flags) -> Self::SetFlags2ResponseFut; 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; fn open( &self, flags: OpenFlags, mode: ModeType, path: &str, object: ServerEnd<NodeMarker>, ) -> Result<(), Error>; fn open3( &self, path: &str, flags: Flags, options: &Options, object: Channel, ) -> Result<(), Error>; fn read_dirents(&self, max_bytes: u64) -> Self::ReadDirentsResponseFut; fn rewind(&self) -> Self::RewindResponseFut; fn get_token(&self) -> Self::GetTokenResponseFut; fn link( &self, src: &str, dst_parent_token: Handle, dst: &str, ) -> Self::LinkResponseFut; fn unlink( &self, name: &str, options: &UnlinkOptions, ) -> Self::UnlinkResponseFut; fn rename( &self, src: &str, dst_parent_token: Event, dst: &str, ) -> Self::RenameResponseFut; fn create_symlink( &self, name: &str, target: &[u8], connection: Option<ServerEnd<SymlinkMarker>>, ) -> Self::CreateSymlinkResponseFut; fn watch( &self, mask: WatchMask, options: u32, watcher: ServerEnd<DirectoryWatcherMarker>, ) -> Self::WatchResponseFut;
}

Required Associated Types§

Source

type AdvisoryLockResponseFut: Future<Output = Result<AdvisoryLockingAdvisoryLockResult, Error>> + Send

Source

type CloseResponseFut: Future<Output = Result<CloseableCloseResult, Error>> + Send

Source

type QueryResponseFut: Future<Output = Result<Vec<u8>, Error>> + Send

Source

type GetAttrResponseFut: Future<Output = Result<(i32, NodeAttributes), Error>> + Send

Source

type SetAttrResponseFut: Future<Output = Result<i32, Error>> + Send

Source

type GetFlagsResponseFut: Future<Output = Result<(i32, OpenFlags), Error>> + Send

Source

type SetFlagsResponseFut: Future<Output = Result<i32, Error>> + Send

Source

type GetFlags2ResponseFut: Future<Output = Result<NodeGetFlags2Result, Error>> + Send

Source

type SetFlags2ResponseFut: Future<Output = Result<NodeSetFlags2Result, Error>> + Send

Source

type QueryFilesystemResponseFut: Future<Output = Result<(i32, Option<Box<FilesystemInfo>>), Error>> + Send

Source

type GetConnectionInfoResponseFut: Future<Output = Result<ConnectionInfo, Error>> + Send

Source

type GetAttributesResponseFut: Future<Output = Result<NodeGetAttributesResult, Error>> + Send

Source

type UpdateAttributesResponseFut: Future<Output = Result<NodeUpdateAttributesResult, Error>> + Send

Source

type SyncResponseFut: Future<Output = Result<NodeSyncResult, Error>> + Send

Source

type GetExtendedAttributeResponseFut: Future<Output = Result<NodeGetExtendedAttributeResult, Error>> + Send

Source

type SetExtendedAttributeResponseFut: Future<Output = Result<NodeSetExtendedAttributeResult, Error>> + Send

Source

type RemoveExtendedAttributeResponseFut: Future<Output = Result<NodeRemoveExtendedAttributeResult, Error>> + Send

Source

type ReadDirentsResponseFut: Future<Output = Result<(i32, Vec<u8>), Error>> + Send

Source

type RewindResponseFut: Future<Output = Result<i32, Error>> + Send

Source

type GetTokenResponseFut: Future<Output = Result<(i32, Option<Handle>), Error>> + Send

Source

type LinkResponseFut: Future<Output = Result<i32, Error>> + Send

Source

type UnlinkResponseFut: Future<Output = Result<DirectoryUnlinkResult, Error>> + Send

Source

type RenameResponseFut: Future<Output = Result<DirectoryRenameResult, Error>> + Send

Source

type CreateSymlinkResponseFut: Future<Output = Result<DirectoryCreateSymlinkResult, Error>> + Send

Source

type WatchResponseFut: Future<Output = Result<i32, Error>> + Send

Required Methods§

Source

fn advisory_lock( &self, request: &AdvisoryLockRequest, ) -> Self::AdvisoryLockResponseFut

Source

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

Source

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

Source

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

Source

fn deprecated_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 get_flags2(&self) -> Self::GetFlags2ResponseFut

Source

fn set_flags2(&self, flags: Flags) -> Self::SetFlags2ResponseFut

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

Source

fn open( &self, flags: OpenFlags, mode: ModeType, path: &str, object: ServerEnd<NodeMarker>, ) -> Result<(), Error>

Source

fn open3( &self, path: &str, flags: Flags, options: &Options, object: Channel, ) -> Result<(), Error>

Source

fn read_dirents(&self, max_bytes: u64) -> Self::ReadDirentsResponseFut

Source

fn rewind(&self) -> Self::RewindResponseFut

Source

fn get_token(&self) -> Self::GetTokenResponseFut

Source

fn rename( &self, src: &str, dst_parent_token: Event, dst: &str, ) -> Self::RenameResponseFut

Source

fn watch( &self, mask: WatchMask, options: u32, watcher: ServerEnd<DirectoryWatcherMarker>, ) -> Self::WatchResponseFut

Implementors§

Source§

impl DirectoryProxyInterface for DirectoryProxy

Source§

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

Source§

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

Source§

type QueryResponseFut = QueryResponseFut<Vec<u8>>

Source§

type GetAttrResponseFut = QueryResponseFut<(i32, NodeAttributes)>

Source§

type SetAttrResponseFut = QueryResponseFut<i32>

Source§

type GetFlagsResponseFut = QueryResponseFut<(i32, OpenFlags)>

Source§

type SetFlagsResponseFut = QueryResponseFut<i32>

Source§

type GetFlags2ResponseFut = QueryResponseFut<Result<Flags, i32>>

Source§

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

Source§

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

Source§

type GetConnectionInfoResponseFut = QueryResponseFut<ConnectionInfo>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type ReadDirentsResponseFut = QueryResponseFut<(i32, Vec<u8>)>

Source§

type RewindResponseFut = QueryResponseFut<i32>

Source§

type GetTokenResponseFut = QueryResponseFut<(i32, Option<Handle>)>

Source§

type LinkResponseFut = QueryResponseFut<i32>

Source§

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

Source§

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

Source§

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

Source§

type WatchResponseFut = QueryResponseFut<i32>