#[repr(C)]pub struct FvmfileCommand {
pub cmd: u32,
pub cmdsize: u32,
pub name: u32,
pub header_addr: u32,
}Expand description
The fvmfile_command contains a reference to a file to be loaded at the specified virtual address. (Presently, this command is reserved for internal use. The kernel ignores this command when loading a program into memory).
Fields§
§cmd: u32LC_FVMFILE
cmdsize: u32includes pathname string
name: u32files pathname
header_addr: u32files virtual address
Trait Implementations§
Source§impl Clone for FvmfileCommand
impl Clone for FvmfileCommand
Source§fn clone(&self) -> FvmfileCommand
fn clone(&self) -> FvmfileCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FvmfileCommand
impl Debug for FvmfileCommand
Source§impl FromCtx<Endian> for FvmfileCommand
impl FromCtx<Endian> for FvmfileCommand
Source§impl<'a> IntoCtx<Endian> for &'a FvmfileCommand
impl<'a> IntoCtx<Endian> for &'a FvmfileCommand
Source§impl<'a> TryFromCtx<'a, Endian> for FvmfileCommandwhere
FvmfileCommand: 'a,
impl<'a> TryFromCtx<'a, Endian> for FvmfileCommandwhere
FvmfileCommand: 'a,
type Error = Error
fn try_from_ctx( src: &'a [u8], ctx: Endian, ) -> Result<(FvmfileCommand, usize), <FvmfileCommand as TryFromCtx<'a, Endian>>::Error>
Source§impl<'a> TryIntoCtx<Endian> for &'a FvmfileCommand
impl<'a> TryIntoCtx<Endian> for &'a FvmfileCommand
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian, ) -> Result<usize, <&'a FvmfileCommand as TryIntoCtx<Endian>>::Error>
Source§impl TryIntoCtx<Endian> for FvmfileCommand
impl TryIntoCtx<Endian> for FvmfileCommand
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian, ) -> Result<usize, <FvmfileCommand as TryIntoCtx<Endian>>::Error>
impl Copy for FvmfileCommand
Auto Trait Implementations§
impl Freeze for FvmfileCommand
impl RefUnwindSafe for FvmfileCommand
impl Send for FvmfileCommand
impl Sync for FvmfileCommand
impl Unpin for FvmfileCommand
impl UnwindSafe for FvmfileCommand
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