#[repr(transparent)]pub struct A2fPlainMessage(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl A2fPlainMessage
impl A2fPlainMessage
pub const NONE: Self
pub const AuthPreamble: Self
pub const AuthResult: Self
pub const ENUM_MIN: u8 = 0u8
pub const ENUM_MAX: u8 = 2u8
pub const ENUM_VALUES: &'static [Self]
Sourcepub fn variant_name(self) -> Option<&'static str>
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
Trait Implementations§
Source§impl Clone for A2fPlainMessage
impl Clone for A2fPlainMessage
Source§fn clone(&self) -> A2fPlainMessage
fn clone(&self) -> A2fPlainMessage
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 A2fPlainMessage
impl Debug for A2fPlainMessage
Source§impl Default for A2fPlainMessage
impl Default for A2fPlainMessage
Source§fn default() -> A2fPlainMessage
fn default() -> A2fPlainMessage
Returns the “default value” for a type. Read more
Source§impl EndianScalar for A2fPlainMessage
impl EndianScalar for A2fPlainMessage
Source§impl<'a> Follow<'a> for A2fPlainMessage
impl<'a> Follow<'a> for A2fPlainMessage
Source§impl Hash for A2fPlainMessage
impl Hash for A2fPlainMessage
Source§impl Ord for A2fPlainMessage
impl Ord for A2fPlainMessage
Source§fn cmp(&self, other: &A2fPlainMessage) -> Ordering
fn cmp(&self, other: &A2fPlainMessage) -> Ordering
1.21.0 · 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
Source§impl PartialEq for A2fPlainMessage
impl PartialEq for A2fPlainMessage
Source§impl PartialOrd for A2fPlainMessage
impl PartialOrd for A2fPlainMessage
Source§impl Push for A2fPlainMessage
impl Push for A2fPlainMessage
Source§impl<'a> Verifiable for A2fPlainMessage
impl<'a> Verifiable for A2fPlainMessage
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl Copy for A2fPlainMessage
impl Eq for A2fPlainMessage
impl SimpleToVerifyInSlice for A2fPlainMessage
impl StructuralPartialEq for A2fPlainMessage
Auto Trait Implementations§
impl Freeze for A2fPlainMessage
impl RefUnwindSafe for A2fPlainMessage
impl Send for A2fPlainMessage
impl Sync for A2fPlainMessage
impl Unpin for A2fPlainMessage
impl UnwindSafe for A2fPlainMessage
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