pub struct InputPortHandle { /* private fields */ }Expand description
Channel-backed input endpoint for one declared input port.
Implementations§
Source§impl InputPortHandle
impl InputPortHandle
Sourcepub const fn disconnected(port_id: PortId) -> Self
pub const fn disconnected(port_id: PortId) -> Self
Create an input handle with no connected upstream edge.
Sourcepub const fn connected_edge_count(&self) -> usize
pub const fn connected_edge_count(&self) -> usize
Number of upstream bounded edges connected to this input port.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InputPortHandle
impl !RefUnwindSafe for InputPortHandle
impl Send for InputPortHandle
impl Sync for InputPortHandle
impl Unpin for InputPortHandle
impl UnsafeUnpin for InputPortHandle
impl !UnwindSafe for InputPortHandle
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> 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).