pub enum PowerDeliveryResponse {
Busy = 0,
Success = 1,
Invalid = 2,
NotSupported = 3,
TransactionFailed = 4,
}Expand description
The different responses that the device can give when in operation
Variants§
Busy = 0
Success = 1
Invalid = 2
Invalid Command Or Argument Provided
NotSupported = 3
Command Not Supported Or Rejected
TransactionFailed = 4
No good Cyclic Redundancy Check (CRC) received after sending
Implementations§
Trait Implementations§
Source§impl Clone for PowerDeliveryResponse
impl Clone for PowerDeliveryResponse
Source§fn clone(&self) -> PowerDeliveryResponse
fn clone(&self) -> PowerDeliveryResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PowerDeliveryResponse
Source§impl Debug for PowerDeliveryResponse
impl Debug for PowerDeliveryResponse
Source§impl Format for PowerDeliveryResponse
impl Format for PowerDeliveryResponse
Source§impl PartialEq for PowerDeliveryResponse
impl PartialEq for PowerDeliveryResponse
impl StructuralPartialEq for PowerDeliveryResponse
Auto Trait Implementations§
impl Freeze for PowerDeliveryResponse
impl RefUnwindSafe for PowerDeliveryResponse
impl Send for PowerDeliveryResponse
impl Sync for PowerDeliveryResponse
impl Unpin for PowerDeliveryResponse
impl UnsafeUnpin for PowerDeliveryResponse
impl UnwindSafe for PowerDeliveryResponse
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