pub enum Side {
Client,
Server,
}
Expand description
Side of the connection.
Variants
Client
A client initiates the connection.
Server
A server waits for a client to connect.
Trait Implementations
impl Copy for Side
impl StructuralPartialEq for Side
Auto Trait Implementations
impl RefUnwindSafe for Side
impl Send for Side
impl Sync for Side
impl Unpin for Side
impl UnwindSafe for Side
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