pub struct ChannelConn {
pub stream: TcpStream,
pub sid: u32,
pub version: u8,
pub is_be: bool,
pub server_addr: SocketAddr,
pub reassembler: SegmentReassembler,
}Fields§
§stream: TcpStream§sid: u32§version: u8§is_be: bool§server_addr: SocketAddr§reassembler: SegmentReassemblerSegment reassembly state for this connection.
It lives on the connection rather than on each read call because a
message’s segments may be separated by control frames — and by the
boundary between establish_channel and whatever the caller does
next on the same socket.
Auto Trait Implementations§
impl !Freeze for ChannelConn
impl RefUnwindSafe for ChannelConn
impl Send for ChannelConn
impl Sync for ChannelConn
impl Unpin for ChannelConn
impl UnsafeUnpin for ChannelConn
impl UnwindSafe for ChannelConn
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