pub struct TcpWarpProtoHost {
pub connection_id: Uuid,
}Fields§
§connection_id: UuidTrait Implementations§
Source§impl Decoder for TcpWarpProtoHost
impl Decoder for TcpWarpProtoHost
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 TcpWarpProtoHost
impl Encoder for TcpWarpProtoHost
Auto Trait Implementations§
impl Freeze for TcpWarpProtoHost
impl RefUnwindSafe for TcpWarpProtoHost
impl Send for TcpWarpProtoHost
impl Sync for TcpWarpProtoHost
impl Unpin for TcpWarpProtoHost
impl UnwindSafe for TcpWarpProtoHost
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