pub struct SendProduct<L, R> {
pub inner: L,
pub own: R,
}Expand description
A product of independently typed send protocols.
Fields§
§inner: L§own: RImplementations§
Trait Implementations§
Source§impl<L: Clone, R: Clone> Clone for SendProduct<L, R>
impl<L: Clone, R: Clone> Clone for SendProduct<L, R>
Source§fn clone(&self) -> SendProduct<L, R>
fn clone(&self) -> SendProduct<L, R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<L, R> From<(L, R)> for SendProduct<L, R>
impl<L, R> From<(L, R)> for SendProduct<L, R>
Source§impl<L: SendAlgebra, R: SendAlgebra> SendAlgebra for SendProduct<L, R>
impl<L: SendAlgebra, R: SendAlgebra> SendAlgebra for SendProduct<L, R>
Source§impl<L, R, Input, Path> SendInput<Input, Inner<Path>> for SendProduct<L, R>where
L: SendInput<Input, Path>,
impl<L, R, Input, Path> SendInput<Input, Inner<Path>> for SendProduct<L, R>where
L: SendInput<Input, Path>,
Source§impl<L, R, Input> SendInput<Input, Own> for SendProduct<L, R>
impl<L, R, Input> SendInput<Input, Own> for SendProduct<L, R>
impl<L: Eq, R: Eq> Eq for SendProduct<L, R>
impl<L, R> StructuralPartialEq for SendProduct<L, R>
Auto Trait Implementations§
impl<L, R> Freeze for SendProduct<L, R>
impl<L, R> RefUnwindSafe for SendProduct<L, R>where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for SendProduct<L, R>
impl<L, R> Sync for SendProduct<L, R>
impl<L, R> Unpin for SendProduct<L, R>
impl<L, R> UnsafeUnpin for SendProduct<L, R>where
L: UnsafeUnpin,
R: UnsafeUnpin,
impl<L, R> UnwindSafe for SendProduct<L, R>where
L: UnwindSafe,
R: UnwindSafe,
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