pub struct WorkspaceLease { /* private fields */ }Expand description
RAII lease — returns the slab to the pool on Drop. Callers can
take a shared reference to the inner slice for kernel launch via
WorkspaceLease::slice.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkspaceLease
impl !RefUnwindSafe for WorkspaceLease
impl Send for WorkspaceLease
impl Sync for WorkspaceLease
impl Unpin for WorkspaceLease
impl UnsafeUnpin for WorkspaceLease
impl !UnwindSafe for WorkspaceLease
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