pub struct OpenFile {
pub error_code: u8,
pub file_id: u16,
}
Fields§
§error_code: u8
§file_id: u16
Trait Implementations§
Source§impl FromByteSlice for OpenFile
impl FromByteSlice for OpenFile
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> OpenFile
fn from_le_byte_slice(bytes: &[u8]) -> OpenFile
Deserialize the implementing type from a byte slice.
impl Copy for OpenFile
impl Eq for OpenFile
impl StructuralPartialEq for OpenFile
Auto Trait Implementations§
impl Freeze for OpenFile
impl RefUnwindSafe for OpenFile
impl Send for OpenFile
impl Sync for OpenFile
impl Unpin for OpenFile
impl UnwindSafe for OpenFile
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