pub enum NameComponent {
GenericNameComponent(GenericNameComponent),
ImplicitSha256DigestComponent(ImplicitSha256DigestComponent),
ParametersSha256DigestComponent(ParametersSha256DigestComponent),
KeywordNameComponent(KeywordNameComponent),
SegmentNameComponent(SegmentNameComponent),
ByteOffsetNameComponent(ByteOffsetNameComponent),
VersionNameComponent(VersionNameComponent),
TimestampNameComponent(TimestampNameComponent),
SequenceNumNameComponent(SequenceNumNameComponent),
OtherNameComponent(OtherNameComponent),
}
Variants§
GenericNameComponent(GenericNameComponent)
ImplicitSha256DigestComponent(ImplicitSha256DigestComponent)
ParametersSha256DigestComponent(ParametersSha256DigestComponent)
KeywordNameComponent(KeywordNameComponent)
SegmentNameComponent(SegmentNameComponent)
ByteOffsetNameComponent(ByteOffsetNameComponent)
VersionNameComponent(VersionNameComponent)
TimestampNameComponent(TimestampNameComponent)
SequenceNumNameComponent(SequenceNumNameComponent)
OtherNameComponent(OtherNameComponent)
Trait Implementations§
Source§impl AsMut<NameComponent> for FinalBlockId
impl AsMut<NameComponent> for FinalBlockId
Source§fn as_mut(&mut self) -> &mut NameComponent
fn as_mut(&mut self) -> &mut NameComponent
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<NameComponent> for FinalBlockId
impl AsRef<NameComponent> for FinalBlockId
Source§fn as_ref(&self) -> &NameComponent
fn as_ref(&self) -> &NameComponent
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for NameComponent
impl Clone for NameComponent
Source§fn clone(&self) -> NameComponent
fn clone(&self) -> NameComponent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NameComponent
impl Debug for NameComponent
Source§impl Extend<NameComponent> for Name
impl Extend<NameComponent> for Name
Source§fn extend<T: IntoIterator<Item = NameComponent>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = NameComponent>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl From<ByteOffsetNameComponent> for NameComponent
impl From<ByteOffsetNameComponent> for NameComponent
Source§fn from(original: ByteOffsetNameComponent) -> NameComponent
fn from(original: ByteOffsetNameComponent) -> NameComponent
Converts to this type from the input type.
Source§impl From<FinalBlockId> for NameComponent
impl From<FinalBlockId> for NameComponent
Source§fn from(original: FinalBlockId) -> Self
fn from(original: FinalBlockId) -> Self
Converts to this type from the input type.
Source§impl From<GenericNameComponent> for NameComponent
impl From<GenericNameComponent> for NameComponent
Source§fn from(original: GenericNameComponent) -> NameComponent
fn from(original: GenericNameComponent) -> NameComponent
Converts to this type from the input type.
Source§impl From<ImplicitSha256DigestComponent> for NameComponent
impl From<ImplicitSha256DigestComponent> for NameComponent
Source§fn from(original: ImplicitSha256DigestComponent) -> NameComponent
fn from(original: ImplicitSha256DigestComponent) -> NameComponent
Converts to this type from the input type.
Source§impl From<KeywordNameComponent> for NameComponent
impl From<KeywordNameComponent> for NameComponent
Source§fn from(original: KeywordNameComponent) -> NameComponent
fn from(original: KeywordNameComponent) -> NameComponent
Converts to this type from the input type.
Source§impl From<NameComponent> for FinalBlockId
impl From<NameComponent> for FinalBlockId
Source§fn from(original: NameComponent) -> FinalBlockId
fn from(original: NameComponent) -> FinalBlockId
Converts to this type from the input type.
Source§impl From<NameComponent> for Name
impl From<NameComponent> for Name
Source§fn from(value: NameComponent) -> Self
fn from(value: NameComponent) -> Self
Converts to this type from the input type.
Source§impl From<OtherNameComponent> for NameComponent
impl From<OtherNameComponent> for NameComponent
Source§fn from(original: OtherNameComponent) -> NameComponent
fn from(original: OtherNameComponent) -> NameComponent
Converts to this type from the input type.
Source§impl From<ParametersSha256DigestComponent> for NameComponent
impl From<ParametersSha256DigestComponent> for NameComponent
Source§fn from(original: ParametersSha256DigestComponent) -> NameComponent
fn from(original: ParametersSha256DigestComponent) -> NameComponent
Converts to this type from the input type.
Source§impl From<SegmentNameComponent> for NameComponent
impl From<SegmentNameComponent> for NameComponent
Source§fn from(original: SegmentNameComponent) -> NameComponent
fn from(original: SegmentNameComponent) -> NameComponent
Converts to this type from the input type.
Source§impl From<SequenceNumNameComponent> for NameComponent
impl From<SequenceNumNameComponent> for NameComponent
Source§fn from(original: SequenceNumNameComponent) -> NameComponent
fn from(original: SequenceNumNameComponent) -> NameComponent
Converts to this type from the input type.
Source§impl From<TimestampNameComponent> for NameComponent
impl From<TimestampNameComponent> for NameComponent
Source§fn from(original: TimestampNameComponent) -> NameComponent
fn from(original: TimestampNameComponent) -> NameComponent
Converts to this type from the input type.
Source§impl From<VersionNameComponent> for NameComponent
impl From<VersionNameComponent> for NameComponent
Source§fn from(original: VersionNameComponent) -> NameComponent
fn from(original: VersionNameComponent) -> NameComponent
Converts to this type from the input type.
Source§impl FromIterator<NameComponent> for Name
impl FromIterator<NameComponent> for Name
Source§fn from_iter<T: IntoIterator<Item = NameComponent>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = NameComponent>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl Hash for NameComponent
impl Hash for NameComponent
Source§impl Ord for NameComponent
impl Ord for NameComponent
Source§impl PartialEq for NameComponent
impl PartialEq for NameComponent
Source§impl PartialOrd for NameComponent
impl PartialOrd for NameComponent
Source§impl TlvDecode for NameComponent
impl TlvDecode for NameComponent
Source§impl TlvEncode for NameComponent
impl TlvEncode for NameComponent
impl Eq for NameComponent
impl StructuralPartialEq for NameComponent
Auto Trait Implementations§
impl !Freeze for NameComponent
impl RefUnwindSafe for NameComponent
impl Send for NameComponent
impl Sync for NameComponent
impl Unpin for NameComponent
impl UnwindSafe for NameComponent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more