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