pub enum ADS1220Error<SPI, DR> {
Spi(SPI),
Dr(DR),
}Variants§
Trait Implementations§
Source§impl<SPI: Clone, DR: Clone> Clone for ADS1220Error<SPI, DR>
impl<SPI: Clone, DR: Clone> Clone for ADS1220Error<SPI, DR>
Source§fn clone(&self) -> ADS1220Error<SPI, DR>
fn clone(&self) -> ADS1220Error<SPI, DR>
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 moreimpl<SPI: Copy, DR: Copy> Copy for ADS1220Error<SPI, DR>
Auto Trait Implementations§
impl<SPI, DR> Freeze for ADS1220Error<SPI, DR>
impl<SPI, DR> RefUnwindSafe for ADS1220Error<SPI, DR>where
SPI: RefUnwindSafe,
DR: RefUnwindSafe,
impl<SPI, DR> Send for ADS1220Error<SPI, DR>
impl<SPI, DR> Sync for ADS1220Error<SPI, DR>
impl<SPI, DR> Unpin for ADS1220Error<SPI, DR>
impl<SPI, DR> UnwindSafe for ADS1220Error<SPI, DR>where
SPI: UnwindSafe,
DR: UnwindSafe,
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