pub enum RelayRole {
Regular,
Relay,
}Expand description
Relay role of a device.
Variants§
Trait Implementations§
impl Copy for RelayRole
Source§impl<'de> Deserialize<'de> for RelayRole
impl<'de> Deserialize<'de> for RelayRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RelayRole
impl StructuralPartialEq for RelayRole
Auto Trait Implementations§
impl Freeze for RelayRole
impl RefUnwindSafe for RelayRole
impl Send for RelayRole
impl Sync for RelayRole
impl Unpin for RelayRole
impl UnsafeUnpin for RelayRole
impl UnwindSafe for RelayRole
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