pub enum Role {
Server,
Client,
}Expand description
Designing everything for a pratical system is hard. Designing everything
correctly is impossible. That’s why a versioned spec module is prepared.
At any time top level module does wildcard re-exporting from the latest
version of spec. To survive from a breaking change, change use crate::*
to use crate::spec::v1::*.
Variants§
Trait Implementations§
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