pub struct XhciSupportedProtocol<M>where
M: Mapper + Clone,{
pub header: ReadWrite<Header, M>,
pub psis: Option<ReadWrite<ProtocolSpeedId, M>>,
}
Expand description
The entry point to xHCI Supported Protocol Capability.
Fields§
§header: ReadWrite<Header, M>
The first 16 bytes of xHCI Supported Protocol Capability.
psis: Option<ReadWrite<ProtocolSpeedId, M>>
Protocol Speed IDs.
This field is None
is PSIC == 0
. Refer to 7.2.2.1.2 of the xHCI requirements
specification for more information.
Implementations§
source§impl<M> XhciSupportedProtocol<M>where
M: Mapper + Clone,
impl<M> XhciSupportedProtocol<M>where M: Mapper + Clone,
Trait Implementations§
source§impl<M> From<XhciSupportedProtocol<M>> for ExtendedCapability<M>where
M: Mapper + Clone,
impl<M> From<XhciSupportedProtocol<M>> for ExtendedCapability<M>where M: Mapper + Clone,
source§fn from(x: XhciSupportedProtocol<M>) -> Self
fn from(x: XhciSupportedProtocol<M>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<M> RefUnwindSafe for XhciSupportedProtocol<M>where M: RefUnwindSafe,
impl<M> Send for XhciSupportedProtocol<M>where M: Send,
impl<M> Sync for XhciSupportedProtocol<M>where M: Sync,
impl<M> Unpin for XhciSupportedProtocol<M>where M: Unpin,
impl<M> UnwindSafe for XhciSupportedProtocol<M>where M: UnwindSafe,
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