[−][src]Struct dialectic::Unavailable
A placeholder for a missing Transmit
or Receive
end of a connection.
When using split
, the resultant two channels can only send or only
receive, respectively. This is reflected at the type level by the presence of Unavailable
on
the type of the connection which is not present for each part of the split, and Available
on the type of the connection which is.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Unavailable<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for Unavailable<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for Unavailable<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for Unavailable<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for Unavailable<T> where
T: UnwindSafe,
[src]
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<'a, T> CallBy<'a, Mut> for T where
T: 'a,
[src]
T: 'a,
impl<'a, T> CallBy<'a, Ref> for T where
T: 'a,
[src]
T: 'a,
impl<'a, T> CallBy<'a, Val> for T
[src]
type Type = T
The type of Self
when called by Convention
.
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>,