pub enum BootInfoContents<'a> {
Address {
content_buf: &'a [u8],
},
Value {
val: u64,
len: usize,
},
}Expand description
Boot information contents.
Variants§
Trait Implementations§
Source§impl<'a> Clone for BootInfoContents<'a>
impl<'a> Clone for BootInfoContents<'a>
Source§fn clone(&self) -> BootInfoContents<'a>
fn clone(&self) -> BootInfoContents<'a>
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<'a> Debug for BootInfoContents<'a>
impl<'a> Debug for BootInfoContents<'a>
Source§impl<'a> PartialEq for BootInfoContents<'a>
impl<'a> PartialEq for BootInfoContents<'a>
impl<'a> Copy for BootInfoContents<'a>
impl<'a> Eq for BootInfoContents<'a>
impl<'a> StructuralPartialEq for BootInfoContents<'a>
Auto Trait Implementations§
impl<'a> Freeze for BootInfoContents<'a>
impl<'a> RefUnwindSafe for BootInfoContents<'a>
impl<'a> Send for BootInfoContents<'a>
impl<'a> Sync for BootInfoContents<'a>
impl<'a> Unpin for BootInfoContents<'a>
impl<'a> UnwindSafe for BootInfoContents<'a>
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