pub enum ProducerNaming {
Fingerprint,
Stable,
}Expand description
How a producer is named for the sequence field of decisions/0001 §7.3. Not ordered: two peers state the same one or fail.
Variants§
Fingerprint
The proved connection fingerprint; the counter restarts with the connection (v0 default, decisions/0008 §4.3).
Stable
A name supplied above L0, carried in DATA key 7.
Implementations§
Trait Implementations§
Source§impl Clone for ProducerNaming
impl Clone for ProducerNaming
impl Copy for ProducerNaming
Source§impl Debug for ProducerNaming
impl Debug for ProducerNaming
Source§impl Default for ProducerNaming
impl Default for ProducerNaming
impl Eq for ProducerNaming
Source§impl Hash for ProducerNaming
impl Hash for ProducerNaming
Source§impl Ord for ProducerNaming
impl Ord for ProducerNaming
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 ProducerNaming
impl PartialEq for ProducerNaming
Source§impl PartialOrd for ProducerNaming
impl PartialOrd for ProducerNaming
impl StructuralPartialEq for ProducerNaming
Auto Trait Implementations§
impl Freeze for ProducerNaming
impl RefUnwindSafe for ProducerNaming
impl Send for ProducerNaming
impl Sync for ProducerNaming
impl Unpin for ProducerNaming
impl UnsafeUnpin for ProducerNaming
impl UnwindSafe for ProducerNaming
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