pub enum ChannelOptions {
Bounded(usize),
Unbounded,
}Expand description
WHAT an edge is opened as, as the declaration wrote it — the framework’s own
ChannelOptions vocabulary, mirrored here because the front end cannot
depend on the crate it emits for.
Two words and no third: the closed vocabulary is the whole of the channel axis, an overflow posture belonging to the policy seam and a wait discipline to the engine.
Variants§
Bounded(usize)
bounded(n) — a queue of at most n deliveries, where a full one is backpressure.
Unbounded
unbounded — a queue nothing bounds, where a send never waits and memory is the only limit.
Trait Implementations§
Source§impl Clone for ChannelOptions
impl Clone for ChannelOptions
impl Copy for ChannelOptions
Source§impl Debug for ChannelOptions
impl Debug for ChannelOptions
impl Eq for ChannelOptions
Source§impl PartialEq for ChannelOptions
impl PartialEq for ChannelOptions
impl StructuralPartialEq for ChannelOptions
Auto Trait Implementations§
impl Freeze for ChannelOptions
impl RefUnwindSafe for ChannelOptions
impl Send for ChannelOptions
impl Sync for ChannelOptions
impl Unpin for ChannelOptions
impl UnsafeUnpin for ChannelOptions
impl UnwindSafe for ChannelOptions
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