pub struct BidiShape<I1: 'static, O1: 'static, I2: 'static, O2: 'static> { /* private fields */ }Implementations§
Source§impl<I1: 'static, O1: 'static, I2: 'static, O2: 'static> BidiShape<I1, O1, I2, O2>
impl<I1: 'static, O1: 'static, I2: 'static, O2: 'static> BidiShape<I1, O1, I2, O2>
pub fn new( in1: Inlet<I1>, out1: Outlet<O1>, in2: Inlet<I2>, out2: Outlet<O2>, ) -> Self
pub fn in1(&self) -> Inlet<I1>
pub fn out1(&self) -> Outlet<O1>
pub fn in2(&self) -> Inlet<I2>
pub fn out2(&self) -> Outlet<O2>
pub fn from_flows<In1: 'static, Out1: 'static, In2: 'static, Out2: 'static>( top: &FlowShape<In1, Out1>, bottom: &FlowShape<In2, Out2>, ) -> BidiShape<In1, Out1, In2, Out2>
Trait Implementations§
Source§impl<I1: Debug + 'static, O1: Debug + 'static, I2: Debug + 'static, O2: Debug + 'static> Debug for BidiShape<I1, O1, I2, O2>
impl<I1: Debug + 'static, O1: Debug + 'static, I2: Debug + 'static, O2: Debug + 'static> Debug for BidiShape<I1, O1, I2, O2>
impl<I1: Eq + 'static, O1: Eq + 'static, I2: Eq + 'static, O2: Eq + 'static> Eq for BidiShape<I1, O1, I2, O2>
Source§impl<I1: PartialEq + 'static, O1: PartialEq + 'static, I2: PartialEq + 'static, O2: PartialEq + 'static> PartialEq for BidiShape<I1, O1, I2, O2>
impl<I1: PartialEq + 'static, O1: PartialEq + 'static, I2: PartialEq + 'static, O2: PartialEq + 'static> PartialEq for BidiShape<I1, O1, I2, O2>
impl<I1: PartialEq + 'static, O1: PartialEq + 'static, I2: PartialEq + 'static, O2: PartialEq + 'static> StructuralPartialEq for BidiShape<I1, O1, I2, O2>
Auto Trait Implementations§
impl<I1, O1, I2, O2> Freeze for BidiShape<I1, O1, I2, O2>
impl<I1, O1, I2, O2> RefUnwindSafe for BidiShape<I1, O1, I2, O2>
impl<I1, O1, I2, O2> Send for BidiShape<I1, O1, I2, O2>
impl<I1, O1, I2, O2> Sync for BidiShape<I1, O1, I2, O2>
impl<I1, O1, I2, O2> Unpin for BidiShape<I1, O1, I2, O2>
impl<I1, O1, I2, O2> UnsafeUnpin for BidiShape<I1, O1, I2, O2>
impl<I1, O1, I2, O2> UnwindSafe for BidiShape<I1, O1, I2, O2>
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<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