pub struct Yamux<Io> { /* private fields */ }
Expand description
A yamux multiplexer.
Implementations§
Trait Implementations§
Source§impl<Io> IntoFuture for Yamux<Io>
impl<Io> IntoFuture for Yamux<Io>
Source§type Output = Result<(), ConnectionError>
type Output = Result<(), ConnectionError>
The output that the future will produce on completion.
Source§type IntoFuture = YamuxFuture<Io>
type IntoFuture = YamuxFuture<Io>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<Io> !Freeze for Yamux<Io>
impl<Io> !RefUnwindSafe for Yamux<Io>
impl<Io> Send for Yamux<Io>where
Io: Send,
impl<Io> Sync for Yamux<Io>where
Io: Sync,
impl<Io> Unpin for Yamux<Io>where
Io: Unpin,
impl<Io> !UnwindSafe for Yamux<Io>
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