[−][src]Struct fluvio_socket::MultiplexerSocket
Socket that can multiplex connections
Implementations
impl<S> MultiplexerSocket<S> where
S: AsyncRead + AsyncWrite + Unpin + Send + Sync + 'static, [src]
S: AsyncRead + AsyncWrite + Unpin + Send + Sync + 'static,
pub fn new(socket: InnerFlvSocket<S>) -> Self[src]
create new multiplexer socket, this always starts with correlation id of 1 correlation id of 0 means shared
pub async fn create_serial_socket<'_>(&'_ self) -> SerialSocket<S>[src]
create socket to perform request and response
pub async fn create_stream<R, '_>(
&'_ self,
__arg1: RequestMessage<R>,
queue_len: usize
) -> Result<AsyncResponse<R>, FlvSocketError> where
R: Request, [src]
&'_ self,
__arg1: RequestMessage<R>,
queue_len: usize
) -> Result<AsyncResponse<R>, FlvSocketError> where
R: Request,
create stream response
Trait Implementations
impl<S: Clone> Clone for MultiplexerSocket<S>[src]
fn clone(&self) -> MultiplexerSocket<S>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Auto Trait Implementations
impl<S> !RefUnwindSafe for MultiplexerSocket<S>
impl<S> Send for MultiplexerSocket<S> where
S: Send,
S: Send,
impl<S> Sync for MultiplexerSocket<S> where
S: Send,
S: Send,
impl<S> Unpin for MultiplexerSocket<S>
impl<S> !UnwindSafe for MultiplexerSocket<S>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Erased for T
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,