pub struct TcpWarpProtoClient {
pub connection_id: Uuid,
}Fields§
§connection_id: UuidTrait Implementations§
Source§impl Decoder for TcpWarpProtoClient
impl Decoder for TcpWarpProtoClient
Source§type Item = TcpWarpMessage
type Item = TcpWarpMessage
The type of decoded frames.
Source§fn decode(&mut self, src: &mut BytesMut) -> Result<Option<TcpWarpMessage>>
fn decode(&mut self, src: &mut BytesMut) -> Result<Option<TcpWarpMessage>>
Attempts to decode a frame from the provided buffer of bytes. Read more
Source§impl Encoder for TcpWarpProtoClient
impl Encoder for TcpWarpProtoClient
Auto Trait Implementations§
impl Freeze for TcpWarpProtoClient
impl RefUnwindSafe for TcpWarpProtoClient
impl Send for TcpWarpProtoClient
impl Sync for TcpWarpProtoClient
impl Unpin for TcpWarpProtoClient
impl UnwindSafe for TcpWarpProtoClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more