pub enum LanBearerRole {
None,
Forwarding,
Phy,
}Expand description
How a device carries the LAN bearer, if at all.
Variants§
None
No bearer: CAP_LAN_BEARER is absent and its properties unknown.
Forwarding
Beside a node, which forwards between the group and the LoRa radio.
Every bearer property and counter exists. Meaningful only alongside
SessionConfig::mac_node.
Phy
The group is the device’s PHY, as on a virtual radio. Only the group
and the state exist: PROP_PHY_ENABLED is the switch, and nothing is
forwarded to limit or count.
Trait Implementations§
Source§impl Clone for LanBearerRole
impl Clone for LanBearerRole
Source§fn clone(&self) -> LanBearerRole
fn clone(&self) -> LanBearerRole
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LanBearerRole
impl Debug for LanBearerRole
Source§impl Default for LanBearerRole
impl Default for LanBearerRole
Source§fn default() -> LanBearerRole
fn default() -> LanBearerRole
Returns the “default value” for a type. Read more
Source§impl PartialEq for LanBearerRole
impl PartialEq for LanBearerRole
impl Copy for LanBearerRole
impl Eq for LanBearerRole
impl StructuralPartialEq for LanBearerRole
Auto Trait Implementations§
impl Freeze for LanBearerRole
impl RefUnwindSafe for LanBearerRole
impl Send for LanBearerRole
impl Sync for LanBearerRole
impl Unpin for LanBearerRole
impl UnwindSafe for LanBearerRole
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)