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
Source§fn clone(&self) -> FabricIndex
fn clone(&self) -> FabricIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FabricIndex
Source§impl Debug for FabricIndex
impl Debug for FabricIndex
Source§impl Default for FabricIndex
impl Default for FabricIndex
Source§fn default() -> FabricIndex
fn default() -> FabricIndex
Returns the “default value” for a type. Read more
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
Source§fn cmp(&self, other: &FabricIndex) -> Ordering
fn cmp(&self, other: &FabricIndex) -> Ordering
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 Freeze 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