pub enum PiezoError {
Timeout,
PinUnavailable,
}Expand description
Erreurs possibles du driver piézoélectrique.
Variants§
Trait Implementations§
Source§impl Clone for PiezoError
impl Clone for PiezoError
Source§fn clone(&self) -> PiezoError
fn clone(&self) -> PiezoError
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 PiezoError
Source§impl Debug for PiezoError
impl Debug for PiezoError
impl Eq for PiezoError
Source§impl PartialEq for PiezoError
impl PartialEq for PiezoError
Source§fn eq(&self, other: &PiezoError) -> bool
fn eq(&self, other: &PiezoError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PiezoError
Auto Trait Implementations§
impl Freeze for PiezoError
impl RefUnwindSafe for PiezoError
impl Send for PiezoError
impl Sync for PiezoError
impl Unpin for PiezoError
impl UnsafeUnpin for PiezoError
impl UnwindSafe for PiezoError
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