#[repr(u64)]pub enum AfcOpcode {
Show 32 variants
Status = 1,
Data = 2,
ReadDir = 3,
WritePart = 6,
TruncateFile = 7,
RemovePath = 8,
MakePath = 9,
GetFileInfo = 10,
GetDeviceInfo = 11,
WriteFile = 12,
FileRefOpen = 13,
FileRefOpenResult = 14,
FileRefRead = 15,
FileRefWrite = 16,
FileRefSeek = 17,
FileRefTell = 18,
FileRefTellResult = 19,
FileRefClose = 20,
FileRefSetFileSize = 21,
GetConnectionInfo = 22,
SetConnectionOptions = 23,
RenamePath = 24,
SetFSBlockSize = 25,
SetSocketBlockSize = 26,
FileRefLock = 27,
MakeLink = 28,
GetFileHash = 29,
SetModTime = 30,
GetFileHashRange = 31,
FileRefFlush = 32,
SetFileModTime = 33,
RemovePathAndContents = 34,
}Expand description
AFC operation codes (matches go-ios afc.go constants)
Variants§
Status = 1
Data = 2
ReadDir = 3
WritePart = 6
TruncateFile = 7
RemovePath = 8
MakePath = 9
GetFileInfo = 10
GetDeviceInfo = 11
WriteFile = 12
FileRefOpen = 13
FileRefOpenResult = 14
FileRefRead = 15
FileRefWrite = 16
FileRefSeek = 17
FileRefTell = 18
FileRefTellResult = 19
FileRefClose = 20
FileRefSetFileSize = 21
GetConnectionInfo = 22
SetConnectionOptions = 23
RenamePath = 24
SetFSBlockSize = 25
SetSocketBlockSize = 26
FileRefLock = 27
MakeLink = 28
GetFileHash = 29
SetModTime = 30
GetFileHashRange = 31
FileRefFlush = 32
SetFileModTime = 33
RemovePathAndContents = 34
Trait Implementations§
impl Copy for AfcOpcode
impl Eq for AfcOpcode
impl StructuralPartialEq for AfcOpcode
Auto Trait Implementations§
impl Freeze for AfcOpcode
impl RefUnwindSafe for AfcOpcode
impl Send for AfcOpcode
impl Sync for AfcOpcode
impl Unpin for AfcOpcode
impl UnsafeUnpin for AfcOpcode
impl UnwindSafe for AfcOpcode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.