[][src]Struct fizyr_rpc::UnixTransport

pub struct UnixTransport<Socket> { /* fields omitted */ }

Transport layer for Unix datagram/seqpacket sockets.

Implementations

impl<Socket> UnixTransport<Socket> where
    Self: Transport
[src]

pub fn new(socket: Socket, config: UnixConfig) -> Self[src]

Create a new transport with custom configuration.

pub fn new_default(socket: Socket) -> Self[src]

Create a new transport using the default configuration.

Trait Implementations

impl Transport for UnixTransport<UnixSeqpacket>[src]

type Body = UnixBody

The body type for the messages.

type ReadHalf = ReadHalfType

The type of the read half of the transport.

type WriteHalf = WriteHalfType

The type of the write half of the transport.

Auto Trait Implementations

impl<Socket> RefUnwindSafe for UnixTransport<Socket> where
    Socket: RefUnwindSafe

impl<Socket> Send for UnixTransport<Socket> where
    Socket: Send

impl<Socket> Sync for UnixTransport<Socket> where
    Socket: Sync

impl<Socket> Unpin for UnixTransport<Socket> where
    Socket: Unpin

impl<Socket> UnwindSafe for UnixTransport<Socket> where
    Socket: UnwindSafe

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, 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.