Enum flipper0::ffi::SerialServiceEventType
source · #[non_exhaustive]
pub enum SerialServiceEventType {
SerialServiceEventTypeDataReceived,
SerialServiceEventTypeDataSent,
SerialServiceEventTypesBleResetRequest,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SerialServiceEventTypeDataReceived
SerialServiceEventTypeDataSent
SerialServiceEventTypesBleResetRequest
Trait Implementations
sourceimpl Clone for SerialServiceEventType
impl Clone for SerialServiceEventType
sourcefn clone(&self) -> SerialServiceEventType
fn clone(&self) -> SerialServiceEventType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SerialServiceEventType
impl Debug for SerialServiceEventType
sourceimpl Hash for SerialServiceEventType
impl Hash for SerialServiceEventType
sourceimpl PartialEq<SerialServiceEventType> for SerialServiceEventType
impl PartialEq<SerialServiceEventType> for SerialServiceEventType
sourcefn eq(&self, other: &SerialServiceEventType) -> bool
fn eq(&self, other: &SerialServiceEventType) -> bool
impl Eq for SerialServiceEventType
impl StructuralEq for SerialServiceEventType
impl StructuralPartialEq for SerialServiceEventType
Auto Trait Implementations
impl RefUnwindSafe for SerialServiceEventType
impl Send for SerialServiceEventType
impl Sync for SerialServiceEventType
impl Unpin for SerialServiceEventType
impl UnwindSafe for SerialServiceEventType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more