pub enum AudioObjectTypeError {
EscapeValue,
TooLarge(u8),
}
Expand description
Represents an error converting a u8
into an AudioObjectType
Variants§
EscapeValue
Tried to convert the ‘escape value’, 31
, into an AudioObjectType
(this is not a legitimate
AOT value but instead is used as part of encoding the field value.
TooLarge(u8)
Only values 95 and under can be legitimate Audio Object Types.
Trait Implementations§
source§impl Debug for AudioObjectTypeError
impl Debug for AudioObjectTypeError
source§impl PartialEq for AudioObjectTypeError
impl PartialEq for AudioObjectTypeError
source§fn eq(&self, other: &AudioObjectTypeError) -> bool
fn eq(&self, other: &AudioObjectTypeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AudioObjectTypeError
Auto Trait Implementations§
impl Freeze for AudioObjectTypeError
impl RefUnwindSafe for AudioObjectTypeError
impl Send for AudioObjectTypeError
impl Sync for AudioObjectTypeError
impl Unpin for AudioObjectTypeError
impl UnwindSafe for AudioObjectTypeError
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