pub trait FileProxyInterface: Send + Sync {
Show 55 associated items type AdvisoryLockResponseFut: Future<Output = Result<AdvisoryLockingAdvisoryLockResult, Error>> + Send; type LinkIntoResponseFut: Future<Output = Result<LinkableLinkIntoResult, 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 CloseResponseFut: Future<Output = Result<CloseableCloseResult, Error>> + Send; type QueryResponseFut: Future<Output = Result<Vec<u8>, Error>> + Send; type GetConnectionInfoResponseFut: Future<Output = Result<ConnectionInfo, Error>> + Send; type GetAttributesResponseFut: Future<Output = Result<Node2GetAttributesResult, Error>> + Send; type UpdateAttributesResponseFut: Future<Output = Result<Node2UpdateAttributesResult, Error>> + Send; type SyncResponseFut: Future<Output = Result<Node2SyncResult, Error>> + Send; type GetExtendedAttributeResponseFut: Future<Output = Result<Node2GetExtendedAttributeResult, Error>> + Send; type SetExtendedAttributeResponseFut: Future<Output = Result<Node2SetExtendedAttributeResult, Error>> + Send; type RemoveExtendedAttributeResponseFut: Future<Output = Result<Node2RemoveExtendedAttributeResult, Error>> + Send; type ReadResponseFut: Future<Output = Result<ReadableReadResult, Error>> + Send; type WriteResponseFut: Future<Output = Result<WritableWriteResult, Error>> + Send; type DescribeResponseFut: Future<Output = Result<FileInfo, Error>> + Send; type SeekResponseFut: Future<Output = Result<FileSeekResult, Error>> + Send; type ReadAtResponseFut: Future<Output = Result<FileReadAtResult, Error>> + Send; type WriteAtResponseFut: Future<Output = Result<FileWriteAtResult, Error>> + Send; type ResizeResponseFut: Future<Output = Result<FileResizeResult, Error>> + Send; type GetBackingMemoryResponseFut: Future<Output = Result<FileGetBackingMemoryResult, Error>> + Send; type AllocateResponseFut: Future<Output = Result<FileAllocateResult, Error>> + Send; type EnableVerityResponseFut: Future<Output = Result<FileEnableVerityResult, Error>> + Send; // Required methods fn advisory_lock( &self, request: &AdvisoryLockRequest ) -> Self::AdvisoryLockResponseFut; fn link_into( &self, dst_parent_token: Event, dst: &str ) -> Self::LinkIntoResponseFut; 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 close(&self) -> Self::CloseResponseFut; fn query(&self) -> Self::QueryResponseFut; fn reopen( &self, rights_request: &RightsRequest, object_request: ServerEnd<NodeMarker> ) -> Result<(), Error>; 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 read(&self, count: u64) -> Self::ReadResponseFut; fn write(&self, data: &[u8]) -> Self::WriteResponseFut; fn describe(&self) -> Self::DescribeResponseFut; fn seek(&self, origin: SeekOrigin, offset: i64) -> Self::SeekResponseFut; fn read_at(&self, count: u64, offset: u64) -> Self::ReadAtResponseFut; fn write_at(&self, data: &[u8], offset: u64) -> Self::WriteAtResponseFut; fn resize(&self, length: u64) -> Self::ResizeResponseFut; fn get_backing_memory( &self, flags: VmoFlags ) -> Self::GetBackingMemoryResponseFut; fn allocate( &self, offset: u64, length: u64, mode: AllocateMode ) -> Self::AllocateResponseFut; fn enable_verity( &self, options: &VerificationOptions ) -> Self::EnableVerityResponseFut;
}

Required Associated Types§

source

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

source

type LinkIntoResponseFut: Future<Output = Result<LinkableLinkIntoResult, 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 QueryFilesystemResponseFut: Future<Output = Result<(i32, Option<Box<FilesystemInfo>>), Error>> + Send

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

type ReadResponseFut: Future<Output = Result<ReadableReadResult, Error>> + Send

source

type WriteResponseFut: Future<Output = Result<WritableWriteResult, Error>> + Send

source

type DescribeResponseFut: Future<Output = Result<FileInfo, Error>> + Send

source

type SeekResponseFut: Future<Output = Result<FileSeekResult, Error>> + Send

source

type ReadAtResponseFut: Future<Output = Result<FileReadAtResult, Error>> + Send

source

type WriteAtResponseFut: Future<Output = Result<FileWriteAtResult, Error>> + Send

source

type ResizeResponseFut: Future<Output = Result<FileResizeResult, Error>> + Send

source

type GetBackingMemoryResponseFut: Future<Output = Result<FileGetBackingMemoryResult, Error>> + Send

source

type AllocateResponseFut: Future<Output = Result<FileAllocateResult, Error>> + Send

source

type EnableVerityResponseFut: Future<Output = Result<FileEnableVerityResult, Error>> + Send

Required Methods§

source

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

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 close(&self) -> Self::CloseResponseFut

source

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

source

fn reopen( &self, rights_request: &RightsRequest, object_request: ServerEnd<NodeMarker> ) -> Result<(), Error>

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 read(&self, count: u64) -> Self::ReadResponseFut

source

fn write(&self, data: &[u8]) -> Self::WriteResponseFut

source

fn describe(&self) -> Self::DescribeResponseFut

source

fn seek(&self, origin: SeekOrigin, offset: i64) -> Self::SeekResponseFut

source

fn read_at(&self, count: u64, offset: u64) -> Self::ReadAtResponseFut

source

fn write_at(&self, data: &[u8], offset: u64) -> Self::WriteAtResponseFut

source

fn resize(&self, length: u64) -> Self::ResizeResponseFut

source

fn get_backing_memory( &self, flags: VmoFlags ) -> Self::GetBackingMemoryResponseFut

source

fn allocate( &self, offset: u64, length: u64, mode: AllocateMode ) -> Self::AllocateResponseFut

source

fn enable_verity( &self, options: &VerificationOptions ) -> Self::EnableVerityResponseFut

Implementors§

source§

impl FileProxyInterface for FileProxy

§

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

§

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

§

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 CloseResponseFut = QueryResponseFut<Result<(), i32>>

§

type QueryResponseFut = QueryResponseFut<Vec<u8>>

§

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

§

type ReadResponseFut = QueryResponseFut<Result<Vec<u8>, i32>>

§

type WriteResponseFut = QueryResponseFut<Result<u64, i32>>

§

type DescribeResponseFut = QueryResponseFut<FileInfo>

§

type SeekResponseFut = QueryResponseFut<Result<u64, i32>>

§

type ReadAtResponseFut = QueryResponseFut<Result<Vec<u8>, i32>>

§

type WriteAtResponseFut = QueryResponseFut<Result<u64, i32>>

§

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

§

type GetBackingMemoryResponseFut = QueryResponseFut<Result<Vmo, i32>>

§

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

§

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