pub struct RxLease { /* private fields */ }
Expand description
An RAII lease possibly keeping the system from suspension.
Yielded from Session::watch_rx_leases
.
Dropping an RxLease
relinquishes it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RxLease
impl RefUnwindSafe for RxLease
impl Send for RxLease
impl Sync for RxLease
impl Unpin for RxLease
impl UnwindSafe for RxLease
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