Struct party_types::Tx [−][src]
Receive a value T from the given Role
Implementations
impl<Role, T: Send + 'static, Cont> Tx<Role, T, Cont>
[src]
Trait Implementations
Auto Trait Implementations
impl<Role, T, Cont> RefUnwindSafe for Tx<Role, T, Cont> where
Cont: RefUnwindSafe,
Role: RefUnwindSafe,
T: RefUnwindSafe,
Cont: RefUnwindSafe,
Role: RefUnwindSafe,
T: RefUnwindSafe,
impl<Role, T, Cont> Send for Tx<Role, T, Cont> where
Cont: Send,
Role: Send,
T: Send,
Cont: Send,
Role: Send,
T: Send,
impl<Role, T, Cont> Sync for Tx<Role, T, Cont> where
Cont: Sync,
Role: Sync,
T: Sync,
Cont: Sync,
Role: Sync,
T: Sync,
impl<Role, T, Cont> Unpin for Tx<Role, T, Cont> where
Cont: Unpin,
Role: Unpin,
T: Unpin,
Cont: Unpin,
Role: Unpin,
T: Unpin,
impl<Role, T, Cont> UnwindSafe for Tx<Role, T, Cont> where
Cont: UnwindSafe,
Role: UnwindSafe,
T: UnwindSafe,
Cont: UnwindSafe,
Role: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,