[]Struct bq24195::Fault

pub struct Fault(pub u8);

Methods

impl Fault

pub fn watchdog(&self) -> Watchdog

pub fn charge_fault(&self) -> ChargeFault

pub fn battery_fault(&self) -> BatteryFault

pub fn thermistor_fault(&self) -> ThermistorFault

Trait Implementations

impl<T> BitRange<T> for Fault where
    u8: BitRange<T>, 

impl Debug for Fault

Auto Trait Implementations

impl Send for Fault

impl Sync for Fault

impl Unpin for Fault

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Bit for T where
    T: BitRange<u8>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.