#[repr(transparent)]pub struct IOUSBHostCIExceptionType(pub c_uint);Available on crate feature
IOUSBHostControllerInterfaceDefinitions only.Expand description
Exception specifier included as message argument to
kUSBHostMessageControllerException
The kernel driver sends a
kUSBHostMessageControllerException
message to its clients when a fatal problem has occurred, with a refCon of the IOUSBHostController instance and a
IOUSBHostCIExceptionType
in the message arguments.
When any
kUSBHostMessageControllerException
message is received, the specified IOUSBHostControllerInterface must be destroyed.
See also Apple’s documentation
Tuple Fields§
§0: c_uintImplementations§
Source§impl IOUSBHostCIExceptionType
impl IOUSBHostCIExceptionType
pub const Unknown: Self
pub const CapabilitiesInvalid: Self
pub const Terminated: Self
pub const CommandReadCollision: Self
pub const CommandWriteFailed: Self
pub const CommandTimeout: Self
pub const CommandFailure: Self
pub const InterruptInvalid: Self
pub const InterruptOverflow: Self
pub const DoorbellReadCollision: Self
pub const DoorbellOverflow: Self
pub const ProtocolError: Self
pub const FrameUpdateError: Self
Trait Implementations§
Source§impl Clone for IOUSBHostCIExceptionType
impl Clone for IOUSBHostCIExceptionType
Source§fn clone(&self) -> IOUSBHostCIExceptionType
fn clone(&self) -> IOUSBHostCIExceptionType
Returns a duplicate 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 IOUSBHostCIExceptionType
impl Debug for IOUSBHostCIExceptionType
Source§impl Encode for IOUSBHostCIExceptionType
impl Encode for IOUSBHostCIExceptionType
Source§impl Hash for IOUSBHostCIExceptionType
impl Hash for IOUSBHostCIExceptionType
Source§impl Ord for IOUSBHostCIExceptionType
impl Ord for IOUSBHostCIExceptionType
Source§fn cmp(&self, other: &IOUSBHostCIExceptionType) -> Ordering
fn cmp(&self, other: &IOUSBHostCIExceptionType) -> 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 IOUSBHostCIExceptionType
impl PartialEq for IOUSBHostCIExceptionType
Source§impl PartialOrd for IOUSBHostCIExceptionType
impl PartialOrd for IOUSBHostCIExceptionType
Source§impl RefEncode for IOUSBHostCIExceptionType
impl RefEncode for IOUSBHostCIExceptionType
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for IOUSBHostCIExceptionType
impl Eq for IOUSBHostCIExceptionType
impl StructuralPartialEq for IOUSBHostCIExceptionType
Auto Trait Implementations§
impl Freeze for IOUSBHostCIExceptionType
impl RefUnwindSafe for IOUSBHostCIExceptionType
impl Send for IOUSBHostCIExceptionType
impl Sync for IOUSBHostCIExceptionType
impl Unpin for IOUSBHostCIExceptionType
impl UnwindSafe for IOUSBHostCIExceptionType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.