Struct flattiverse_connector::net::Connection
source · pub struct Connection;
Implementations
sourceimpl Connection
impl Connection
pub fn new(
addr: &SocketAddr,
max_recv_load: u32
) -> Result<(ConnectionRead, ConnectionWrite), Error>
Auto Trait Implementations
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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