Struct kanidm_unixd::ClientCodec [−][src]
pub(crate) struct ClientCodec;
Implementations
Trait Implementations
impl Decoder for ClientCodec
[src]
impl Decoder for ClientCodec
[src]type Item = ClientRequest
The type of decoded frames.
type Error = Error
The type of unrecoverable frame decoding errors. Read more
fn decode(
&mut self,
src: &mut BytesMut
) -> Result<Option<Self::Item>, Self::Error>
[src]
&mut self,
src: &mut BytesMut
) -> Result<Option<Self::Item>, Self::Error>
pub fn decode_eof(
&mut self,
buf: &mut BytesMut
) -> Result<Option<Self::Item>, Self::Error>
&mut self,
buf: &mut BytesMut
) -> Result<Option<Self::Item>, Self::Error>
pub fn framed<T>(self, io: T) -> Framed<T, Self> where
T: AsyncRead + AsyncWrite,
T: AsyncRead + AsyncWrite,
impl Encoder<ClientResponse> for ClientCodec
[src]
impl Encoder<ClientResponse> for ClientCodec
[src]Auto Trait Implementations
impl RefUnwindSafe for ClientCodec
impl Send for ClientCodec
impl Sync for ClientCodec
impl Unpin for ClientCodec
impl UnwindSafe for ClientCodec
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,