Struct disarray_network::contexts::Context
source · pub struct Context {
pub addr: SocketAddr,
pub direction: Direction,
pub handle: BaseHandle,
pub stream: TcpStream,
}
Fields
addr: SocketAddr
direction: Direction
handle: BaseHandle
stream: TcpStream
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more