pub enum Allowed {
TransferEvent(TransferEvent),
CommandCompletion(CommandCompletion),
PortStatusChange(PortStatusChange),
BandwidthRequest(BandwidthRequest),
Doorbell(Doorbell),
HostController(HostController),
DeviceNotification(DeviceNotification),
MfindexWrap(MfindexWrap),
}
Expand description
TRBs which are allowed to be pushed to the Event Ring.
Variants§
TransferEvent(TransferEvent)
Transfer Event TRB.
CommandCompletion(CommandCompletion)
Command Completion Event TRB.
PortStatusChange(PortStatusChange)
Port Status Change Event TRB.
BandwidthRequest(BandwidthRequest)
Bandwidth Request Event TRB.
Doorbell(Doorbell)
Doorbell Event TRB.
HostController(HostController)
Host Controller Event TRB.
DeviceNotification(DeviceNotification)
Device Notification Event TRB.
MfindexWrap(MfindexWrap)
MFINDEX Wrap Event TRB.
Implementations§
source§impl Allowed
impl Allowed
sourcepub fn set_cycle_bit(&mut self) -> &mut Self
pub fn set_cycle_bit(&mut self) -> &mut Self
Sets the value of the Cycle Bit.
sourcepub fn clear_cycle_bit(&mut self) -> &mut Self
pub fn clear_cycle_bit(&mut self) -> &mut Self
Clears the value of the Cycle Bit.
Trait Implementations§
source§impl From<BandwidthRequest> for Allowed
impl From<BandwidthRequest> for Allowed
source§fn from(v: BandwidthRequest) -> Self
fn from(v: BandwidthRequest) -> Self
Converts to this type from the input type.
source§impl From<CommandCompletion> for Allowed
impl From<CommandCompletion> for Allowed
source§fn from(v: CommandCompletion) -> Self
fn from(v: CommandCompletion) -> Self
Converts to this type from the input type.
source§impl From<DeviceNotification> for Allowed
impl From<DeviceNotification> for Allowed
source§fn from(v: DeviceNotification) -> Self
fn from(v: DeviceNotification) -> Self
Converts to this type from the input type.
source§impl From<HostController> for Allowed
impl From<HostController> for Allowed
source§fn from(v: HostController) -> Self
fn from(v: HostController) -> Self
Converts to this type from the input type.
source§impl From<MfindexWrap> for Allowed
impl From<MfindexWrap> for Allowed
source§fn from(v: MfindexWrap) -> Self
fn from(v: MfindexWrap) -> Self
Converts to this type from the input type.
source§impl From<PortStatusChange> for Allowed
impl From<PortStatusChange> for Allowed
source§fn from(v: PortStatusChange) -> Self
fn from(v: PortStatusChange) -> Self
Converts to this type from the input type.
source§impl From<TransferEvent> for Allowed
impl From<TransferEvent> for Allowed
source§fn from(v: TransferEvent) -> Self
fn from(v: TransferEvent) -> Self
Converts to this type from the input type.
source§impl Ord for Allowed
impl Ord for Allowed
source§impl PartialEq<Allowed> for Allowed
impl PartialEq<Allowed> for Allowed
source§impl PartialOrd<Allowed> for Allowed
impl PartialOrd<Allowed> for Allowed
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Allowed
impl Eq for Allowed
impl StructuralEq for Allowed
impl StructuralPartialEq for Allowed
Auto Trait Implementations§
impl RefUnwindSafe for Allowed
impl Send for Allowed
impl Sync for Allowed
impl Unpin for Allowed
impl UnwindSafe for Allowed
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