[][src]Struct utf8_io::Utf8Duplexer

pub struct Utf8Duplexer<Inner: HalfDuplex> { /* fields omitted */ }

An interactive UTF-8 stream, combining Utf8Reader and Utf8Writer.

Implementations

impl<Inner: HalfDuplex> Utf8Duplexer<Inner>[src]

pub fn new(inner: Inner) -> Self[src]

Construct a new instance of Utf8Duplexer wrapping inner.

pub fn into_inner(self) -> Result<Inner>[src]

Flush any pending output and return the inner output stream.

Trait Implementations

impl<Inner: HalfDuplex + AsRawFd> AsRawFd for Utf8Duplexer<Inner>[src]

impl<Inner: HalfDuplex + Debug> Debug for Utf8Duplexer<Inner>[src]

impl<Inner: HalfDuplex> Duplex for Utf8Duplexer<Inner>[src]

impl<Inner: HalfDuplex> Read for Utf8Duplexer<Inner>[src]

impl<Inner: HalfDuplex> ReadStr for Utf8Duplexer<Inner>[src]

impl<Inner: HalfDuplex> Write for Utf8Duplexer<Inner>[src]

impl<Inner: HalfDuplex> WriteStr for Utf8Duplexer<Inner>[src]

Auto Trait Implementations

impl<Inner> RefUnwindSafe for Utf8Duplexer<Inner> where
    Inner: RefUnwindSafe
[src]

impl<Inner> Send for Utf8Duplexer<Inner> where
    Inner: Send
[src]

impl<Inner> Sync for Utf8Duplexer<Inner> where
    Inner: Sync
[src]

impl<Inner> Unpin for Utf8Duplexer<Inner> where
    Inner: Unpin
[src]

impl<Inner> UnwindSafe for Utf8Duplexer<Inner> where
    Inner: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> HalfDuplex for T where
    T: Duplex + Read + Write
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.