pub enum AnywhereRPCRequest {
Show 32 variants
ReadBytes {
handle: FileHandle,
max_num_bytes: u64,
},
FileMetadata {
handle: FileHandle,
},
FileTryClone {
handle: FileHandle,
},
OpenFile {
path: RPCPath,
},
Canonicalize {
path: RPCPath,
},
Metadata {
path: RPCPath,
},
Read {
path: RPCPath,
},
ReadDirWrapper {
path: RPCPath,
},
ReadLink {
path: RPCPath,
},
ReadToString {
path: RPCPath,
},
SymlinkMetadata {
path: RPCPath,
},
WriteData {
handle: FileHandle,
buf: Vec<u8>,
},
WriteFlush {
handle: FileHandle,
},
WriteShutdown {
handle: FileHandle,
},
FileSyncAll {
handle: FileHandle,
},
FileSyncData {
handle: FileHandle,
},
FileSetLen {
handle: FileHandle,
size: u64,
},
FileSetPermissions {
handle: FileHandle,
perm: Permissions,
},
CreateFile {
path: RPCPath,
},
OpenFileWithOpts {
opts: OpenOptions,
path: RPCPath,
},
Copy {
from: RPCPath,
to: RPCPath,
},
CreateDir {
path: RPCPath,
},
CreateDirAll {
path: RPCPath,
},
HardLink {
src: RPCPath,
dst: RPCPath,
},
RemoveDir {
path: RPCPath,
},
RemoveDirAll {
path: RPCPath,
},
RemoveFile {
path: RPCPath,
},
Rename {
from: RPCPath,
to: RPCPath,
},
SetPermissions {
path: RPCPath,
perm: Permissions,
},
Symlink {
src: RPCPath,
dst: RPCPath,
},
Write {
path: RPCPath,
contents: Vec<u8>,
},
Seek {
handle: FileHandle,
pos: SeekFrom,
},
}Variants§
ReadBytes
FileMetadata
Fields
§
handle: FileHandleFileTryClone
Fields
§
handle: FileHandleOpenFile
Canonicalize
Metadata
Read
ReadDirWrapper
ReadLink
ReadToString
SymlinkMetadata
WriteData
WriteFlush
Fields
§
handle: FileHandleWriteShutdown
Fields
§
handle: FileHandleFileSyncAll
Fields
§
handle: FileHandleFileSyncData
Fields
§
handle: FileHandleFileSetLen
FileSetPermissions
CreateFile
OpenFileWithOpts
Copy
CreateDir
CreateDirAll
HardLink
RemoveDir
RemoveDirAll
RemoveFile
Rename
SetPermissions
Symlink
Write
Seek
Trait Implementations§
Source§impl Debug for AnywhereRPCRequest
impl Debug for AnywhereRPCRequest
Source§impl<'de> Deserialize<'de> for AnywhereRPCRequest
impl<'de> Deserialize<'de> for AnywhereRPCRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AnywhereRPCRequest
impl RefUnwindSafe for AnywhereRPCRequest
impl Send for AnywhereRPCRequest
impl Sync for AnywhereRPCRequest
impl Unpin for AnywhereRPCRequest
impl UnwindSafe for AnywhereRPCRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more