#[repr(u8)]pub enum SeqRes {
NO_RESULT = 0,
CONN_SDP = 1,
CONN_CP = 2,
CONN_DCP = 3,
}Variants§
NO_RESULT = 0
No results to report.
CONN_SDP = 1
Attached to an SDP. Must comply with USB 2.0 by drawing only 2.5 mA (max) until connected.
CONN_CP = 2
Attached to a charging port. The exact meaning depends on the STATUS[SEQ_STAT] field (value 0: Attached to either a CDP or a DCP. The charger type detection has not completed. value 1: Attached to a CDP. The charger type detection has completed.)
CONN_DCP = 3
Attached to a DCP.
Implementations§
Trait Implementations§
Source§impl Ord for SeqRes
impl Ord for SeqRes
Source§impl PartialOrd for SeqRes
impl PartialOrd for SeqRes
impl Copy for SeqRes
impl Eq for SeqRes
impl StructuralPartialEq for SeqRes
Auto Trait Implementations§
impl Freeze for SeqRes
impl RefUnwindSafe for SeqRes
impl Send for SeqRes
impl Sync for SeqRes
impl Unpin for SeqRes
impl UnwindSafe for SeqRes
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