pub struct FabricIndex(pub u8);Expand description
A local index into a node’s own fabric table (Core §7.5).
One octet, 1..=254; zero means “no fabric”, and the value is local to one node — the
same fabric has different indices on different nodes.
Tuple Fields§
§0: u8Implementations§
Trait Implementations§
Source§impl Clone for FabricIndex
impl Clone for FabricIndex
impl Copy for FabricIndex
Source§impl Debug for FabricIndex
impl Debug for FabricIndex
Source§impl Default for FabricIndex
impl Default for FabricIndex
impl Eq for FabricIndex
Source§impl<'a> FromTlv<'a> for FabricIndex
impl<'a> FromTlv<'a> for FabricIndex
Source§impl Hash for FabricIndex
impl Hash for FabricIndex
Source§impl Ord for FabricIndex
impl Ord for FabricIndex
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FabricIndex
impl PartialEq for FabricIndex
Source§impl PartialOrd for FabricIndex
impl PartialOrd for FabricIndex
impl StructuralPartialEq for FabricIndex
Auto Trait Implementations§
impl Forget for FabricIndex
impl Freeze for FabricIndex
impl Move for FabricIndex
impl RefUnwindSafe for FabricIndex
impl Send for FabricIndex
impl Sync for FabricIndex
impl Unpin for FabricIndex
impl UnsafeUnpin for FabricIndex
impl UnwindSafe for FabricIndex
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