pub enum DriverEvent {
StateChanged,
MessageReceived(Message),
}Expand description
Event queue by FUSB302 instance for clients (such as pd_sink)
Variants§
Auto Trait Implementations§
impl Freeze for DriverEvent
impl RefUnwindSafe for DriverEvent
impl Send for DriverEvent
impl Sync for DriverEvent
impl Unpin for DriverEvent
impl UnwindSafe for DriverEvent
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, U> UnsafeFrom<U> for Twhere
T: From<U>,
impl<T, U> UnsafeFrom<U> for Twhere
T: From<U>,
Source§unsafe fn unsafe_from(other: U) -> T
unsafe fn unsafe_from(other: U) -> T
Calls T::from(other).
That is, this conversion is whatever the implementation of From<U> for T chooses to
do.
Source§impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
Source§unsafe fn unsafe_into(self) -> U
unsafe fn unsafe_into(self) -> U
Calls U::unsafe_from(self).
That is, this conversion is whatever the implementation of UnsafeFrom<T> for U
chooses to do.