#[repr(transparent)]pub struct StatusCodeType(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl StatusCodeType
impl StatusCodeType
pub const GENERIC: StatusCodeType
pub const COMMAND_SPECIFIC: StatusCodeType
pub const MEDIA_ERROR: StatusCodeType
pub const PATH_RELATED: StatusCodeType
pub const VENDOR_SPECIFIC: StatusCodeType
Trait Implementations§
Source§impl Clone for StatusCodeType
impl Clone for StatusCodeType
Source§fn clone(&self) -> StatusCodeType
fn clone(&self) -> StatusCodeType
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 StatusCodeType
impl Debug for StatusCodeType
Source§impl Default for StatusCodeType
impl Default for StatusCodeType
Source§fn default() -> StatusCodeType
fn default() -> StatusCodeType
Returns the “default value” for a type. Read more
Source§impl Hash for StatusCodeType
impl Hash for StatusCodeType
Source§impl Ord for StatusCodeType
impl Ord for StatusCodeType
Source§fn cmp(&self, other: &StatusCodeType) -> Ordering
fn cmp(&self, other: &StatusCodeType) -> 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 StatusCodeType
impl PartialEq for StatusCodeType
Source§impl PartialOrd for StatusCodeType
impl PartialOrd for StatusCodeType
impl Copy for StatusCodeType
impl Eq for StatusCodeType
impl StructuralPartialEq for StatusCodeType
Auto Trait Implementations§
impl Freeze for StatusCodeType
impl RefUnwindSafe for StatusCodeType
impl Send for StatusCodeType
impl Sync for StatusCodeType
impl Unpin for StatusCodeType
impl UnwindSafe for StatusCodeType
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