pub struct NoRoom {
pub name: &'static str,
pub len: usize,
pub align: usize,
pub used: usize,
pub arena: usize,
pub why: Why,
}Expand description
Why a part was refused. Its Display is a sentence a driver can log as it stands.
Fields§
§name: &'static strThe part asked for.
len: usizeIts size in bytes.
align: usizeThe alignment it asked for.
used: usizeHow much of the arena the parts before it had taken.
arena: usizeThe arena’s size.
why: WhyWhat was wrong.
Trait Implementations§
impl Copy for NoRoom
impl Eq for NoRoom
impl StructuralPartialEq for NoRoom
Auto Trait Implementations§
impl Freeze for NoRoom
impl RefUnwindSafe for NoRoom
impl Send for NoRoom
impl Sync for NoRoom
impl Unpin for NoRoom
impl UnsafeUnpin for NoRoom
impl UnwindSafe for NoRoom
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