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