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