pub struct ExecutableFormat { /* private fields */ }Expand description
Platform registration for a four-byte file magic. The context searches registrations in order. Mounted executables continue to use their control command.
Implementations§
Source§impl ExecutableFormat
impl ExecutableFormat
pub const fn new(magic: [u8; 4], handler: &'static dyn FormatHandler) -> Self
Auto Trait Implementations§
impl Freeze for ExecutableFormat
impl !RefUnwindSafe for ExecutableFormat
impl Send for ExecutableFormat
impl Sync for ExecutableFormat
impl Unpin for ExecutableFormat
impl UnsafeUnpin for ExecutableFormat
impl !UnwindSafe for ExecutableFormat
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