pub struct OpenInlet<T: 'static> { /* private fields */ }Expand description
Move-only open inlet token returned by TypedGraphBuilder.
Pass it to TypedGraphBuilder::connect to wire the inlet, or consume it
with into_port when the inlet remains part of the
graph’s returned external Shape. The token intentionally does not
implement Clone or Copy.
Implementations§
Trait Implementations§
impl<T: Eq + 'static> Eq for OpenInlet<T>
impl<T: PartialEq + 'static> StructuralPartialEq for OpenInlet<T>
Auto Trait Implementations§
impl<T> Freeze for OpenInlet<T>
impl<T> RefUnwindSafe for OpenInlet<T>
impl<T> Send for OpenInlet<T>
impl<T> Sync for OpenInlet<T>
impl<T> Unpin for OpenInlet<T>
impl<T> UnsafeUnpin for OpenInlet<T>
impl<T> UnwindSafe for OpenInlet<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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Message for T
impl<T> Message for T
Source§fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
Convert a BoxedMessage to this concrete type
Source§fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
Convert this message to a BoxedMessage