pub struct MappedStreamTypes<In, Out, C>(/* private fields */);
Expand description
Connection types for a mapped connection
Trait Implementations§
Source§impl<In, Out, C> Clone for MappedStreamTypes<In, Out, C>
impl<In, Out, C> Clone for MappedStreamTypes<In, Out, C>
Source§impl<In, Out, C> ConnectionErrors for MappedStreamTypes<In, Out, C>
impl<In, Out, C> ConnectionErrors for MappedStreamTypes<In, Out, C>
Source§type RecvError = ErrorOrMapError<<C as ConnectionErrors>::RecvError>
type RecvError = ErrorOrMapError<<C as ConnectionErrors>::RecvError>
Error when receiving a message via a channel
Source§type SendError = <C as ConnectionErrors>::SendError
type SendError = <C as ConnectionErrors>::SendError
Error when sending a message via a channel
Source§type OpenError = <C as ConnectionErrors>::OpenError
type OpenError = <C as ConnectionErrors>::OpenError
Error when opening a channel
Source§type AcceptError = <C as ConnectionErrors>::AcceptError
type AcceptError = <C as ConnectionErrors>::AcceptError
Error when accepting a channel
Source§impl<In, Out, C> Debug for MappedStreamTypes<In, Out, C>
impl<In, Out, C> Debug for MappedStreamTypes<In, Out, C>
Source§impl<In, Out, C> StreamTypes for MappedStreamTypes<In, Out, C>
impl<In, Out, C> StreamTypes for MappedStreamTypes<In, Out, C>
Source§type RecvStream = MappedRecvStream<<C as StreamTypes>::RecvStream, In>
type RecvStream = MappedRecvStream<<C as StreamTypes>::RecvStream, In>
Receive side of a bidirectional typed channel
Source§type SendSink = MappedSendSink<<C as StreamTypes>::SendSink, Out, <C as StreamTypes>::Out>
type SendSink = MappedSendSink<<C as StreamTypes>::SendSink, Out, <C as StreamTypes>::Out>
Send side of a bidirectional typed channel
Auto Trait Implementations§
impl<In, Out, C> Freeze for MappedStreamTypes<In, Out, C>
impl<In, Out, C> RefUnwindSafe for MappedStreamTypes<In, Out, C>
impl<In, Out, C> Send for MappedStreamTypes<In, Out, C>
impl<In, Out, C> Sync for MappedStreamTypes<In, Out, C>
impl<In, Out, C> Unpin for MappedStreamTypes<In, Out, C>
impl<In, Out, C> UnwindSafe for MappedStreamTypes<In, Out, C>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)