#[repr(transparent)]pub struct A2rHandshakeRootPayload(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl A2rHandshakeRootPayload
impl A2rHandshakeRootPayload
pub const NONE: Self
pub const Error: Self
pub const RequestConnection: 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 A2rHandshakeRootPayload
impl Clone for A2rHandshakeRootPayload
Source§fn clone(&self) -> A2rHandshakeRootPayload
fn clone(&self) -> A2rHandshakeRootPayload
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 A2rHandshakeRootPayload
impl Debug for A2rHandshakeRootPayload
Source§impl Default for A2rHandshakeRootPayload
impl Default for A2rHandshakeRootPayload
Source§fn default() -> A2rHandshakeRootPayload
fn default() -> A2rHandshakeRootPayload
Returns the “default value” for a type. Read more
Source§impl<'a> Follow<'a> for A2rHandshakeRootPayload
impl<'a> Follow<'a> for A2rHandshakeRootPayload
Source§impl Hash for A2rHandshakeRootPayload
impl Hash for A2rHandshakeRootPayload
Source§impl Ord for A2rHandshakeRootPayload
impl Ord for A2rHandshakeRootPayload
Source§fn cmp(&self, other: &A2rHandshakeRootPayload) -> Ordering
fn cmp(&self, other: &A2rHandshakeRootPayload) -> 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 A2rHandshakeRootPayload
impl PartialEq for A2rHandshakeRootPayload
Source§impl PartialOrd for A2rHandshakeRootPayload
impl PartialOrd for A2rHandshakeRootPayload
Source§impl Push for A2rHandshakeRootPayload
impl Push for A2rHandshakeRootPayload
Source§impl<'a> Verifiable for A2rHandshakeRootPayload
impl<'a> Verifiable for A2rHandshakeRootPayload
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 A2rHandshakeRootPayload
impl Eq for A2rHandshakeRootPayload
impl SimpleToVerifyInSlice for A2rHandshakeRootPayload
impl StructuralPartialEq for A2rHandshakeRootPayload
Auto Trait Implementations§
impl Freeze for A2rHandshakeRootPayload
impl RefUnwindSafe for A2rHandshakeRootPayload
impl Send for A2rHandshakeRootPayload
impl Sync for A2rHandshakeRootPayload
impl Unpin for A2rHandshakeRootPayload
impl UnwindSafe for A2rHandshakeRootPayload
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