#[repr(u8)]pub enum SubmitMode {
Inline = 0,
Reference = 1,
Mixed = 2,
}Variants§
Implementations§
Source§impl SubmitMode
impl SubmitMode
pub fn try_from_u8(value: u8) -> Result<Self, NnrpError>
Trait Implementations§
Source§impl Clone for SubmitMode
impl Clone for SubmitMode
Source§fn clone(&self) -> SubmitMode
fn clone(&self) -> SubmitMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubmitMode
impl Debug for SubmitMode
Source§impl PartialEq for SubmitMode
impl PartialEq for SubmitMode
Source§fn eq(&self, other: &SubmitMode) -> bool
fn eq(&self, other: &SubmitMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SubmitMode
impl Eq for SubmitMode
impl StructuralPartialEq for SubmitMode
Auto Trait Implementations§
impl Freeze for SubmitMode
impl RefUnwindSafe for SubmitMode
impl Send for SubmitMode
impl Sync for SubmitMode
impl Unpin for SubmitMode
impl UnsafeUnpin for SubmitMode
impl UnwindSafe for SubmitMode
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