[][src]Struct tmkms::connection::unix::UnixConnection

pub struct UnixConnection<IoHandler> { /* fields omitted */ }

Protocol implementation of the UNIX socket domain connection

Methods

impl<IoHandler> UnixConnection<IoHandler> where
    IoHandler: Read + Write + Send + Sync
[src]

pub fn new(socket: IoHandler) -> Self[src]

Create a new UnixConnection for the given socket

Trait Implementations

impl<T> Connection for UnixConnection<T> where
    T: Read + Write + Sync + Send
[src]

impl<IoHandler> Read for UnixConnection<IoHandler> where
    IoHandler: Read + Write + Send + Sync
[src]

impl<IoHandler> Write for UnixConnection<IoHandler> where
    IoHandler: Read + Write + Send + Sync
[src]

Auto Trait Implementations

impl<IoHandler> RefUnwindSafe for UnixConnection<IoHandler> where
    IoHandler: RefUnwindSafe

impl<IoHandler> Send for UnixConnection<IoHandler> where
    IoHandler: Send

impl<IoHandler> Sync for UnixConnection<IoHandler> where
    IoHandler: Sync

impl<IoHandler> Unpin for UnixConnection<IoHandler> where
    IoHandler: Unpin

impl<IoHandler> UnwindSafe for UnixConnection<IoHandler> where
    IoHandler: UnwindSafe

Blanket Implementations

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

impl<T> AsAny for T where
    T: Any
[src]

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

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

impl<T> Erased for T

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

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

impl<R> ReadBytesExt for R where
    R: Read + ?Sized

impl<T> ReadWrite for T where
    T: Read + Write

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<W> WriteBytesExt for W where
    W: Write + ?Sized