pub struct Reservation { /* private fields */ }Expand description
Exact ownership of one admitted amount. Moving the value transfers ownership; dropping it releases every scope exactly once.
Implementations§
Trait Implementations§
Source§impl Debug for Reservation
impl Debug for Reservation
Source§impl Drop for Reservation
impl Drop for Reservation
Auto Trait Implementations§
impl Freeze for Reservation
impl RefUnwindSafe for Reservation
impl Send for Reservation
impl Sync for Reservation
impl Unpin for Reservation
impl UnsafeUnpin for Reservation
impl UnwindSafe for Reservation
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