pub enum ServerRole {
Router,
Broker,
}Expand description
All the supported roles a server can have
Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for ServerRole
impl RefUnwindSafe for ServerRole
impl Send for ServerRole
impl Sync for ServerRole
impl Unpin for ServerRole
impl UnwindSafe for ServerRole
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