pub struct ChannelInner {
pub queue: Mutex<ChannelState>,
pub not_empty: Condvar,
pub not_full: Condvar,
pub capacity: usize,
}Fields§
§queue: Mutex<ChannelState>§not_empty: Condvar§not_full: Condvar§capacity: usizeAuto Trait Implementations§
impl !Freeze for ChannelInner
impl !RefUnwindSafe for ChannelInner
impl Send for ChannelInner
impl Sync for ChannelInner
impl Unpin for ChannelInner
impl UnsafeUnpin for ChannelInner
impl UnwindSafe for ChannelInner
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