pub struct Permit<'a, T> { /* private fields */ }
Expand description
A borrowing permit to send one value into the channel.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Permit<'a, T>
impl<'a, T> !RefUnwindSafe for Permit<'a, T>
impl<'a, T> !Send for Permit<'a, T>
impl<'a, T> !Sync for Permit<'a, T>
impl<'a, T> Unpin for Permit<'a, T>
impl<'a, T> !UnwindSafe for Permit<'a, T>
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