Enum std::sync::mpmc::SenderFlavor
source · enum SenderFlavor<T> {
Array(Sender<Channel<T>>),
List(Sender<Channel<T>>),
Zero(Sender<Channel<T>>),
}
Expand description
Sender flavors.
Variants§
Array(Sender<Channel<T>>)
Bounded channel based on a preallocated array.
List(Sender<Channel<T>>)
Unbounded channel implemented as a linked list.
Zero(Sender<Channel<T>>)
Zero-capacity channel.
Auto Trait Implementations§
impl<T> !RefUnwindSafe for SenderFlavor<T>
impl<T> !Send for SenderFlavor<T>
impl<T> !Sync for SenderFlavor<T>
impl<T> Unpin for SenderFlavor<T>
impl<T> !UnwindSafe for SenderFlavor<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