#[repr(u16)]pub enum AccountBlockFormat {
AlignedRaw,
Lz4,
}
Variants§
Trait Implementations§
source§impl Clone for AccountBlockFormat
impl Clone for AccountBlockFormat
source§fn clone(&self) -> AccountBlockFormat
fn clone(&self) -> AccountBlockFormat
Returns a copy 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 AccountBlockFormat
impl Debug for AccountBlockFormat
source§impl Default for AccountBlockFormat
impl Default for AccountBlockFormat
source§fn default() -> AccountBlockFormat
fn default() -> AccountBlockFormat
Returns the “default value” for a type. Read more
source§impl From<AccountBlockFormat> for u16
impl From<AccountBlockFormat> for u16
source§fn from(enum_value: AccountBlockFormat) -> Self
fn from(enum_value: AccountBlockFormat) -> Self
Converts to this type from the input type.
source§impl Hash for AccountBlockFormat
impl Hash for AccountBlockFormat
source§impl PartialEq<AccountBlockFormat> for AccountBlockFormat
impl PartialEq<AccountBlockFormat> for AccountBlockFormat
source§fn eq(&self, other: &AccountBlockFormat) -> bool
fn eq(&self, other: &AccountBlockFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u16> for AccountBlockFormat
impl TryFrom<u16> for AccountBlockFormat
§type Error = TryFromPrimitiveError<AccountBlockFormat>
type Error = TryFromPrimitiveError<AccountBlockFormat>
The type returned in the event of a conversion error.
impl Copy for AccountBlockFormat
impl Eq for AccountBlockFormat
impl StructuralEq for AccountBlockFormat
impl StructuralPartialEq for AccountBlockFormat
Auto Trait Implementations§
impl RefUnwindSafe for AccountBlockFormat
impl Send for AccountBlockFormat
impl Sync for AccountBlockFormat
impl Unpin for AccountBlockFormat
impl UnwindSafe for AccountBlockFormat
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.