#[repr(transparent)]pub struct RescueType(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl RescueType
impl RescueType
pub const None: RescueType = _
pub const Xmodem: RescueType = _
Source§impl RescueType
impl RescueType
Trait Implementations§
Source§impl Binary for RescueType
impl Binary for RescueType
Source§impl Clone for RescueType
impl Clone for RescueType
Source§fn clone(&self) -> RescueType
fn clone(&self) -> RescueType
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 RescueType
impl Debug for RescueType
Source§impl Default for RescueType
impl Default for RescueType
Source§impl<'de> Deserialize<'de> for RescueType
impl<'de> Deserialize<'de> for RescueType
Source§fn deserialize<D>(deserializer: D) -> Result<RescueType, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<RescueType, D::Error>where
D: Deserializer<'de>,
Deserializes the value by forwarding to deserialize_any
.
deserialize_any
will forward strings to the string visitor
and forward integers to the appropriate integer visitor.
Source§impl Display for RescueType
impl Display for RescueType
Source§impl From<RescueType> for u32
impl From<RescueType> for u32
Source§fn from(v: RescueType) -> u32
fn from(v: RescueType) -> u32
Converts to this type from the input type.
Source§impl FromStr for RescueType
impl FromStr for RescueType
Source§impl Hash for RescueType
impl Hash for RescueType
Source§impl LowerHex for RescueType
impl LowerHex for RescueType
Source§impl Octal for RescueType
impl Octal for RescueType
Source§impl Ord for RescueType
impl Ord for RescueType
Source§fn cmp(&self, other: &RescueType) -> Ordering
fn cmp(&self, other: &RescueType) -> 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 RescueType
impl PartialEq for RescueType
Source§impl PartialOrd for RescueType
impl PartialOrd for RescueType
Source§impl Serialize for RescueType
impl Serialize for RescueType
Source§impl TryFrom<i16> for RescueType
impl TryFrom<i16> for RescueType
Source§impl TryFrom<i32> for RescueType
impl TryFrom<i32> for RescueType
Source§impl TryFrom<i64> for RescueType
impl TryFrom<i64> for RescueType
Source§impl TryFrom<i8> for RescueType
impl TryFrom<i8> for RescueType
Source§impl TryFrom<u16> for RescueType
impl TryFrom<u16> for RescueType
Source§impl TryFrom<u32> for RescueType
impl TryFrom<u32> for RescueType
Source§impl TryFrom<u64> for RescueType
impl TryFrom<u64> for RescueType
Source§impl TryFrom<u8> for RescueType
impl TryFrom<u8> for RescueType
Source§impl UpperHex for RescueType
impl UpperHex for RescueType
Source§impl ValueEnum for RescueType
impl ValueEnum for RescueType
impl Copy for RescueType
impl Eq for RescueType
impl StructuralPartialEq for RescueType
Auto Trait Implementations§
impl Freeze for RescueType
impl RefUnwindSafe for RescueType
impl Send for RescueType
impl Sync for RescueType
impl Unpin for RescueType
impl UnwindSafe for RescueType
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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