pub struct UnrecognizedVendor(pub u8);
Expand description
Wraps some u8 that isn’t a DRM vendor we recognize
// Get the u8
assert_eq!(UnrecognizedVendor(42).0, 42);
Tuple Fields§
§0: u8
Trait Implementations§
Source§impl Clone for UnrecognizedVendor
impl Clone for UnrecognizedVendor
Source§fn clone(&self) -> UnrecognizedVendor
fn clone(&self) -> UnrecognizedVendor
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 UnrecognizedVendor
impl Debug for UnrecognizedVendor
Source§impl Display for UnrecognizedVendor
impl Display for UnrecognizedVendor
Source§impl Error for UnrecognizedVendor
impl Error for UnrecognizedVendor
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for UnrecognizedVendor
impl PartialEq for UnrecognizedVendor
impl Copy for UnrecognizedVendor
impl Eq for UnrecognizedVendor
impl StructuralPartialEq for UnrecognizedVendor
Auto Trait Implementations§
impl Freeze for UnrecognizedVendor
impl RefUnwindSafe for UnrecognizedVendor
impl Send for UnrecognizedVendor
impl Sync for UnrecognizedVendor
impl Unpin for UnrecognizedVendor
impl UnwindSafe for UnrecognizedVendor
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