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

pub enum Allowed {
    Link(Link),
    EnableSlot(EnableSlot),
    DisableSlot(DisableSlot),
    AddressDevice(AddressDevice),
    ConfigureEndpoint(ConfigureEndpoint),
    EvaluateContext(EvaluateContext),
    ResetEndpoint(ResetEndpoint),
    StopEndpoint(StopEndpoint),
    SetTrDequeuePointer(SetTrDequeuePointer),
    ResetDevice(ResetDevice),
    ForceEvent(ForceEvent),
    NegotiateBandwidth(NegotiateBandwidth),
    SetLatencyToleranceValue(SetLatencyToleranceValue),
    GetPortBandwidth(GetPortBandwidth),
    ForceHeader(ForceHeader),
    Noop(Noop),
    GetExtendedProperty(GetExtendedProperty),
    SetExtendedProperty(SetExtendedProperty),
}

TRBs which are allowed to be pushed to the Command Ring.

Variants

Link TRB

EnableSlot(EnableSlot)

Enable Slot Command TRB

DisableSlot(DisableSlot)

Disable Slot Command TRB

AddressDevice(AddressDevice)

Address Device Command TRB

ConfigureEndpoint(ConfigureEndpoint)

Configure Endpoint Command TRB

EvaluateContext(EvaluateContext)

Evaluate Context Command TRB

ResetEndpoint(ResetEndpoint)

Reset Endpoint Command TRB

StopEndpoint(StopEndpoint)

Stop Endpoint Command TRB

SetTrDequeuePointer(SetTrDequeuePointer)

Set TR Dequeue Pointer Command TRB

ResetDevice(ResetDevice)

Reset Device Command TRB

ForceEvent(ForceEvent)

Force Event Command TRB

NegotiateBandwidth(NegotiateBandwidth)

Negotiate Bandwidth Command TRB

SetLatencyToleranceValue(SetLatencyToleranceValue)

Set Latency Tolerance Value Command TRB

GetPortBandwidth(GetPortBandwidth)

Get Port Bandwidth Command TRB

ForceHeader(ForceHeader)

Force Header Command TRB

Noop(Noop)

No Op Command TRB

GetExtendedProperty(GetExtendedProperty)

Get Extended Property Command TRB

SetExtendedProperty(SetExtendedProperty)

Set Extended Property Command 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<AddressDevice> for Allowed[src]

impl From<ConfigureEndpoint> for Allowed[src]

impl From<DisableSlot> for Allowed[src]

impl From<EnableSlot> for Allowed[src]

impl From<EvaluateContext> for Allowed[src]

impl From<ForceEvent> for Allowed[src]

impl From<ForceHeader> for Allowed[src]

impl From<GetExtendedProperty> for Allowed[src]

impl From<GetPortBandwidth> for Allowed[src]

impl From<Link> for Allowed[src]

impl From<NegotiateBandwidth> for Allowed[src]

impl From<Noop> for Allowed[src]

impl From<ResetDevice> for Allowed[src]

impl From<ResetEndpoint> for Allowed[src]

impl From<SetExtendedProperty> for Allowed[src]

impl From<SetLatencyToleranceValue> for Allowed[src]

impl From<SetTrDequeuePointer> for Allowed[src]

impl From<StopEndpoint> 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]

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.