pub struct MessageInfo { /* private fields */ }
Expand description
Corresponds to microkit_msginfo
.
Implementations§
Source§impl MessageInfo
impl MessageInfo
pub fn new(label: u64, count: usize) -> MessageInfo
Sourcepub const fn label_width() -> usize
pub const fn label_width() -> usize
The number of meaningful bits in MessageLabel
.
Sourcepub fn count(&self) -> usize
pub fn count(&self) -> usize
The number of filled message registers associated with this message.
Sourcepub fn fault(&self) -> Fault
pub fn fault(&self) -> Fault
Interpret this message as a sel4::Fault
.
Trait Implementations§
Source§impl Clone for MessageInfo
impl Clone for MessageInfo
Source§fn clone(&self) -> MessageInfo
fn clone(&self) -> MessageInfo
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MessageInfo
impl Debug for MessageInfo
Source§impl Default for MessageInfo
impl Default for MessageInfo
Source§fn default() -> MessageInfo
fn default() -> MessageInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageInfo
impl RefUnwindSafe for MessageInfo
impl Send for MessageInfo
impl Sync for MessageInfo
impl Unpin for MessageInfo
impl UnwindSafe for MessageInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
§type Error = Infallible
type Error = Infallible
The type returned in the event of a conversion error.