pub enum DriverChannel {
Adxl345(Adxl345Channel),
Sdp8xx(Sdp8xxChannel),
}Expand description
Driver specific channel.
Variants§
Adxl345(Adxl345Channel)
Sdp8xx(Sdp8xxChannel)
Trait Implementations§
Source§impl Clone for DriverChannel
impl Clone for DriverChannel
Source§fn clone(&self) -> DriverChannel
fn clone(&self) -> DriverChannel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DriverChannel
impl Debug for DriverChannel
Source§impl<'de> Deserialize<'de> for DriverChannel
impl<'de> Deserialize<'de> for DriverChannel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DriverChannel
impl Hash for DriverChannel
Source§impl PartialEq for DriverChannel
impl PartialEq for DriverChannel
impl Copy for DriverChannel
impl Eq for DriverChannel
impl StructuralPartialEq for DriverChannel
Auto Trait Implementations§
impl Freeze for DriverChannel
impl RefUnwindSafe for DriverChannel
impl Send for DriverChannel
impl Sync for DriverChannel
impl Unpin for DriverChannel
impl UnwindSafe for DriverChannel
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