Enum xhci::ring::trb::command::Allowed [−][src]
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
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]
fn clone(&self) -> Allowed
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Allowed
[src]
impl Debug for Allowed
[src]
impl Eq for Allowed
[src]
impl From<AddressDevice> for Allowed
[src]
fn from(v: AddressDevice) -> Self
[src]
impl From<ConfigureEndpoint> for Allowed
[src]
fn from(v: ConfigureEndpoint) -> Self
[src]
impl From<DisableSlot> for Allowed
[src]
fn from(v: DisableSlot) -> Self
[src]
impl From<EnableSlot> for Allowed
[src]
fn from(v: EnableSlot) -> Self
[src]
impl From<EvaluateContext> for Allowed
[src]
fn from(v: EvaluateContext) -> Self
[src]
impl From<ForceEvent> for Allowed
[src]
fn from(v: ForceEvent) -> Self
[src]
impl From<ForceHeader> for Allowed
[src]
fn from(v: ForceHeader) -> Self
[src]
impl From<GetExtendedProperty> for Allowed
[src]
fn from(v: GetExtendedProperty) -> Self
[src]
impl From<GetPortBandwidth> for Allowed
[src]
fn from(v: GetPortBandwidth) -> Self
[src]
impl From<Link> for Allowed
[src]
impl From<NegotiateBandwidth> for Allowed
[src]
fn from(v: NegotiateBandwidth) -> Self
[src]
impl From<Noop> for Allowed
[src]
impl From<ResetDevice> for Allowed
[src]
fn from(v: ResetDevice) -> Self
[src]
impl From<ResetEndpoint> for Allowed
[src]
fn from(v: ResetEndpoint) -> Self
[src]
impl From<SetExtendedProperty> for Allowed
[src]
fn from(v: SetExtendedProperty) -> Self
[src]
impl From<SetLatencyToleranceValue> for Allowed
[src]
fn from(v: SetLatencyToleranceValue) -> Self
[src]
impl From<SetTrDequeuePointer> for Allowed
[src]
fn from(v: SetTrDequeuePointer) -> Self
[src]
impl From<StopEndpoint> for Allowed
[src]
fn from(v: StopEndpoint) -> Self
[src]
impl Hash for Allowed
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Allowed
[src]
fn cmp(&self, other: &Allowed) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Allowed> for Allowed
[src]
impl PartialOrd<Allowed> for Allowed
[src]
fn partial_cmp(&self, other: &Allowed) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Allowed
[src]
impl StructuralPartialEq for Allowed
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,