pub enum Allowed {
Show 18 variants
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),
}
Expand description
TRBs which are allowed to be pushed to the Command Ring.
Variants§
Link(Link)
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§
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<AddressDevice> for Allowed
impl From<AddressDevice> for Allowed
source§fn from(v: AddressDevice) -> Self
fn from(v: AddressDevice) -> Self
Converts to this type from the input type.
source§impl From<ConfigureEndpoint> for Allowed
impl From<ConfigureEndpoint> for Allowed
source§fn from(v: ConfigureEndpoint) -> Self
fn from(v: ConfigureEndpoint) -> Self
Converts to this type from the input type.
source§impl From<DisableSlot> for Allowed
impl From<DisableSlot> for Allowed
source§fn from(v: DisableSlot) -> Self
fn from(v: DisableSlot) -> Self
Converts to this type from the input type.
source§impl From<EnableSlot> for Allowed
impl From<EnableSlot> for Allowed
source§fn from(v: EnableSlot) -> Self
fn from(v: EnableSlot) -> Self
Converts to this type from the input type.
source§impl From<EvaluateContext> for Allowed
impl From<EvaluateContext> for Allowed
source§fn from(v: EvaluateContext) -> Self
fn from(v: EvaluateContext) -> Self
Converts to this type from the input type.
source§impl From<ForceEvent> for Allowed
impl From<ForceEvent> for Allowed
source§fn from(v: ForceEvent) -> Self
fn from(v: ForceEvent) -> Self
Converts to this type from the input type.
source§impl From<ForceHeader> for Allowed
impl From<ForceHeader> for Allowed
source§fn from(v: ForceHeader) -> Self
fn from(v: ForceHeader) -> Self
Converts to this type from the input type.
source§impl From<GetExtendedProperty> for Allowed
impl From<GetExtendedProperty> for Allowed
source§fn from(v: GetExtendedProperty) -> Self
fn from(v: GetExtendedProperty) -> Self
Converts to this type from the input type.
source§impl From<GetPortBandwidth> for Allowed
impl From<GetPortBandwidth> for Allowed
source§fn from(v: GetPortBandwidth) -> Self
fn from(v: GetPortBandwidth) -> Self
Converts to this type from the input type.
source§impl From<NegotiateBandwidth> for Allowed
impl From<NegotiateBandwidth> for Allowed
source§fn from(v: NegotiateBandwidth) -> Self
fn from(v: NegotiateBandwidth) -> Self
Converts to this type from the input type.
source§impl From<ResetDevice> for Allowed
impl From<ResetDevice> for Allowed
source§fn from(v: ResetDevice) -> Self
fn from(v: ResetDevice) -> Self
Converts to this type from the input type.
source§impl From<ResetEndpoint> for Allowed
impl From<ResetEndpoint> for Allowed
source§fn from(v: ResetEndpoint) -> Self
fn from(v: ResetEndpoint) -> Self
Converts to this type from the input type.
source§impl From<SetExtendedProperty> for Allowed
impl From<SetExtendedProperty> for Allowed
source§fn from(v: SetExtendedProperty) -> Self
fn from(v: SetExtendedProperty) -> Self
Converts to this type from the input type.
source§impl From<SetLatencyToleranceValue> for Allowed
impl From<SetLatencyToleranceValue> for Allowed
source§fn from(v: SetLatencyToleranceValue) -> Self
fn from(v: SetLatencyToleranceValue) -> Self
Converts to this type from the input type.
source§impl From<SetTrDequeuePointer> for Allowed
impl From<SetTrDequeuePointer> for Allowed
source§fn from(v: SetTrDequeuePointer) -> Self
fn from(v: SetTrDequeuePointer) -> Self
Converts to this type from the input type.
source§impl From<StopEndpoint> for Allowed
impl From<StopEndpoint> for Allowed
source§fn from(v: StopEndpoint) -> Self
fn from(v: StopEndpoint) -> 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