pub enum TxnResult {
Acked,
Nak,
Stall,
Error,
}Expand description
トランザクションの結果。
Variants§
Acked
デバイスが受理した。トグルを進める。
Nak
デバイスが一時的に受け取れなかった。トグルは進めない。
Stall
エンドポイント停止。DATA0 へリセットする。
Error
転送エラー。デバイスが受理したか不明なので進めない (進めると以後すべてのパケットが捨てられる)。
Trait Implementations§
impl Copy for TxnResult
impl Eq for TxnResult
impl StructuralPartialEq for TxnResult
Auto Trait Implementations§
impl Freeze for TxnResult
impl RefUnwindSafe for TxnResult
impl Send for TxnResult
impl Sync for TxnResult
impl Unpin for TxnResult
impl UnsafeUnpin for TxnResult
impl UnwindSafe for TxnResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.