pub enum Request {
CreateBucket {
name: [u8; 128],
},
CreateFile {
name: [u8; 128],
},
WriteFile {
name: [u8; 128],
file_id: u8,
},
CloseFile {
name: [u8; 128],
file_id: u8,
},
DeleteFile {
name: [u8; 128],
file_id: u8,
},
SetPosition {
name: [u8; 128],
file_id: u8,
},
OpenFile {
name: [u8; 128],
file_id: u8,
},
ReadFile {
name: [u8; 128],
file_id: u8,
},
}Variants§
Trait Implementations§
Source§impl BorshDeserialize for Request
impl BorshDeserialize for Request
Source§impl BorshSerialize for Request
impl BorshSerialize for Request
impl Copy for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more