[][src]Struct fluvio_socket::SerialSocket

pub struct SerialSocket<S> { /* fields omitted */ }

socket that can send request and response one at time, this can be only created from multiplex socket

Implementations

impl<S> SerialSocket<S> where
    S: AsyncRead + AsyncWrite + Unpin
[src]

pub async fn send_and_receive<R, '_>(
    &'_ mut self,
    __arg1: RequestMessage<R>
) -> Result<R::Response, FlvSocketError> where
    R: Request, 
[src]

Auto Trait Implementations

impl<S> !RefUnwindSafe for SerialSocket<S>

impl<S> Send for SerialSocket<S> where
    S: Send

impl<S> Sync for SerialSocket<S> where
    S: Send

impl<S> Unpin for SerialSocket<S>

impl<S> !UnwindSafe for SerialSocket<S>

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> Erased for T

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

impl<T> Instrument 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.