pub struct OpenOutlet<T: 'static> { /* private fields */ }Expand description
Move-only open outlet token returned by TypedGraphBuilder.
Pass it to TypedGraphBuilder::connect to wire the outlet, or consume it
with into_port when the outlet remains part of the
graph’s returned external Shape. The token intentionally does not
implement Clone or Copy.
Implementations§
Trait Implementations§
Source§impl<T: 'static> Debug for OpenOutlet<T>
impl<T: 'static> Debug for OpenOutlet<T>
impl<T: Eq + 'static> Eq for OpenOutlet<T>
Source§impl<T: 'static> From<OpenOutlet<T>> for Outlet<T>
impl<T: 'static> From<OpenOutlet<T>> for Outlet<T>
Source§fn from(open: OpenOutlet<T>) -> Self
fn from(open: OpenOutlet<T>) -> Self
Converts to this type from the input type.
Source§impl<T: Hash + 'static> Hash for OpenOutlet<T>
impl<T: Hash + 'static> Hash for OpenOutlet<T>
Source§impl<T: PartialEq + 'static> PartialEq for OpenOutlet<T>
impl<T: PartialEq + 'static> PartialEq for OpenOutlet<T>
impl<T: PartialEq + 'static> StructuralPartialEq for OpenOutlet<T>
Auto Trait Implementations§
impl<T> Freeze for OpenOutlet<T>
impl<T> RefUnwindSafe for OpenOutlet<T>
impl<T> Send for OpenOutlet<T>
impl<T> Sync for OpenOutlet<T>
impl<T> Unpin for OpenOutlet<T>
impl<T> UnsafeUnpin for OpenOutlet<T>
impl<T> UnwindSafe for OpenOutlet<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