#[non_exhaustive]#[repr(u64)]pub enum BlockInfoCode {
SetBid = 1,
BlockName = 2,
SetRecordName = 3,
}
Expand description
Codes for each UNABBREV_RECORD
in BLOCKINFO
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SetBid = 1
SETBID: [blockid]
BlockName = 2
BLOCKNAME: [...name...]
SetRecordName = 3
SETRECORDNAME: [recordid, ...name...]
Trait Implementations§
Source§impl Debug for BlockInfoCode
impl Debug for BlockInfoCode
Source§impl PartialEq for BlockInfoCode
impl PartialEq for BlockInfoCode
Source§impl TryFrom<u64> for BlockInfoCode
impl TryFrom<u64> for BlockInfoCode
Source§type Error = TryFromPrimitiveError<BlockInfoCode>
type Error = TryFromPrimitiveError<BlockInfoCode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for BlockInfoCode
impl TryFromPrimitive for BlockInfoCode
impl StructuralPartialEq for BlockInfoCode
Auto Trait Implementations§
impl Freeze for BlockInfoCode
impl RefUnwindSafe for BlockInfoCode
impl Send for BlockInfoCode
impl Sync for BlockInfoCode
impl Unpin for BlockInfoCode
impl UnwindSafe for BlockInfoCode
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