pub enum MeshUnderlayRole {
C2Peer,
NodePeer,
HqClientAdmin,
}Expand description
Who participates on the underlay (mirrors hatchery MeshParticipantRole).
Variants§
Implementations§
Source§impl MeshUnderlayRole
impl MeshUnderlayRole
pub const fn dial_capability(self) -> MeshUnderlayDialCapability
pub const fn may_accept_underlay(self) -> bool
Trait Implementations§
Source§impl Clone for MeshUnderlayRole
impl Clone for MeshUnderlayRole
impl Copy for MeshUnderlayRole
Source§impl Debug for MeshUnderlayRole
impl Debug for MeshUnderlayRole
Source§impl Display for MeshUnderlayRole
impl Display for MeshUnderlayRole
impl Eq for MeshUnderlayRole
Source§impl Hash for MeshUnderlayRole
impl Hash for MeshUnderlayRole
Source§impl PartialEq for MeshUnderlayRole
impl PartialEq for MeshUnderlayRole
impl StructuralPartialEq for MeshUnderlayRole
Auto Trait Implementations§
impl Freeze for MeshUnderlayRole
impl RefUnwindSafe for MeshUnderlayRole
impl Send for MeshUnderlayRole
impl Sync for MeshUnderlayRole
impl Unpin for MeshUnderlayRole
impl UnsafeUnpin for MeshUnderlayRole
impl UnwindSafe for MeshUnderlayRole
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