pub enum Role {
Client,
Server,
}
Expand description
The role of the multiplexor.
Variants§
Client
Client side, can create new channels to proxy.
Server
Server side, can listen for channels to proxy.
Trait Implementations§
source§impl PartialEq for Role
impl PartialEq for Role
impl Copy for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnwindSafe for Role
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