Enum xhci::ring::trb::event::Allowed[][src]

pub enum Allowed {
    TransferEvent(TransferEvent),
    CommandCompletion(CommandCompletion),
    PortStatusChange(PortStatusChange),
    BandwidthRequest(BandwidthRequest),
    Doorbell(Doorbell),
    HostController(HostController),
    DeviceNotification(DeviceNotification),
    MfindexWrap(MfindexWrap),
}

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

impl Allowed[src]

pub fn set_cycle_bit(&mut self, b: bool) -> &mut Self[src]

Sets the value of the Cycle Bit.

#[must_use]pub fn cycle_bit(&self) -> bool[src]

Returns the value of the Cycle Bit.

#[must_use]pub fn into_raw(self) -> [u32; 4][src]

Returns the wrapped array.

Trait Implementations

impl AsRef<[u32]> for Allowed[src]

impl Clone for Allowed[src]

impl Copy for Allowed[src]

impl Debug for Allowed[src]

impl Eq for Allowed[src]

impl From<BandwidthRequest> for Allowed[src]

impl From<CommandCompletion> for Allowed[src]

impl From<DeviceNotification> for Allowed[src]

impl From<Doorbell> for Allowed[src]

impl From<HostController> for Allowed[src]

impl From<MfindexWrap> for Allowed[src]

impl From<PortStatusChange> for Allowed[src]

impl From<TransferEvent> for Allowed[src]

impl Hash for Allowed[src]

impl Ord for Allowed[src]

impl PartialEq<Allowed> for Allowed[src]

impl PartialOrd<Allowed> for Allowed[src]

impl StructuralEq for Allowed[src]

impl StructuralPartialEq for Allowed[src]

impl TryFrom<[u32; 4]> for Allowed[src]

type Error = [u32; 4]

The type returned in the event of a conversion error.

Auto Trait Implementations

impl Send for Allowed

impl Sync for Allowed

impl Unpin for Allowed

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.