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