pub enum EdgeHandleKind {
Producer,
Consumer,
}Expand description
Which role a scoped edge handle serves.
Arc-based edges (e.g. ConcurrentEdge) ignore this — the clone is
full-duplex. Future lock-free split-handle edges (e.g. SpscAtomicRing)
will return a producer-only or consumer-only handle depending on kind.
Variants§
Producer
Handle will be used to push messages (output side of a node).
Consumer
Handle will be used to pop messages (input side of a node).
Trait Implementations§
Source§impl Clone for EdgeHandleKind
impl Clone for EdgeHandleKind
Source§fn clone(&self) -> EdgeHandleKind
fn clone(&self) -> EdgeHandleKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EdgeHandleKind
impl Debug for EdgeHandleKind
Source§impl PartialEq for EdgeHandleKind
impl PartialEq for EdgeHandleKind
impl Copy for EdgeHandleKind
impl Eq for EdgeHandleKind
impl StructuralPartialEq for EdgeHandleKind
Auto Trait Implementations§
impl Freeze for EdgeHandleKind
impl RefUnwindSafe for EdgeHandleKind
impl Send for EdgeHandleKind
impl Sync for EdgeHandleKind
impl Unpin for EdgeHandleKind
impl UnsafeUnpin for EdgeHandleKind
impl UnwindSafe for EdgeHandleKind
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