pub enum GwMode {
Off,
Client,
Server,
Unknown,
}Expand description
Represents the mode of a batman-adv gateway.
Variants§
Off
Gateway mode is turned off.
Client
Node is operating as a gateway client.
Server
Node is operating as a gateway server.
Unknown
Unknown or unsupported mode.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GwMode
impl RefUnwindSafe for GwMode
impl Send for GwMode
impl Sync for GwMode
impl Unpin for GwMode
impl UnsafeUnpin for GwMode
impl UnwindSafe for GwMode
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