Struct pandacan::Health[][src]

#[repr(C)]pub struct Health {
    pub uptime: u32,
    pub voltage: u32,
    pub current: u32,
    pub can_rx_errs: u32,
    pub can_send_errs: u32,
    pub can_fwd_errs: u32,
    pub gmlan_send_errs: u32,
    pub faults: u32,
    pub ignition_line: u8,
    pub ignition_can: u8,
    pub controls_allowed: u8,
    pub gas_interceptor_detected: u8,
    pub car_harness_status: u8,
    pub usb_power_mode: u8,
    pub safety_model: SafetyModel,
    pub safety_param: i16,
    pub fault_status: u8,
    pub power_save_enabled: u8,
}

Fields

uptime: u32voltage: u32current: u32can_rx_errs: u32can_send_errs: u32can_fwd_errs: u32gmlan_send_errs: u32faults: u32ignition_line: u8ignition_can: u8controls_allowed: u8gas_interceptor_detected: u8car_harness_status: u8usb_power_mode: u8safety_model: SafetyModelsafety_param: i16fault_status: u8power_save_enabled: u8

Trait Implementations

impl Clone for Health[src]

impl Copy for Health[src]

impl Debug for Health[src]

Auto Trait Implementations

impl RefUnwindSafe for Health

impl Send for Health

impl Sync for Health

impl Unpin for Health

impl UnwindSafe for Health

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.