pub enum PortCapabilityDirection {
Receive,
Emit,
}Expand description
Direction of message flow a node claims for a port.
Variants§
Receive
The node may receive messages through the port.
Emit
The node may emit messages through the port.
Trait Implementations§
Source§impl Clone for PortCapabilityDirection
impl Clone for PortCapabilityDirection
Source§fn clone(&self) -> PortCapabilityDirection
fn clone(&self) -> PortCapabilityDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PortCapabilityDirection
impl Debug for PortCapabilityDirection
Source§impl PartialEq for PortCapabilityDirection
impl PartialEq for PortCapabilityDirection
Source§fn eq(&self, other: &PortCapabilityDirection) -> bool
fn eq(&self, other: &PortCapabilityDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PortCapabilityDirection
impl Eq for PortCapabilityDirection
impl StructuralPartialEq for PortCapabilityDirection
Auto Trait Implementations§
impl Freeze for PortCapabilityDirection
impl RefUnwindSafe for PortCapabilityDirection
impl Send for PortCapabilityDirection
impl Sync for PortCapabilityDirection
impl Unpin for PortCapabilityDirection
impl UnsafeUnpin for PortCapabilityDirection
impl UnwindSafe for PortCapabilityDirection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).