#[repr(C)]pub struct FsoeStatus {
pub state: FsoeState,
pub last_error: FsoeError,
pub error_count: u32,
pub frames_sent: u32,
pub frames_received: u32,
pub crc_errors: u32,
pub watchdog_errors: u32,
pub watchdog_expired: u8,
pub in_failsafe: u8,
pub toggle_bit: u8,
pub initialized: u8,
}Fields§
§state: FsoeState§last_error: FsoeError§error_count: u32§frames_sent: u32§frames_received: u32§crc_errors: u32§watchdog_errors: u32§watchdog_expired: u8§in_failsafe: u8§toggle_bit: u8§initialized: u8Trait Implementations§
Source§impl Clone for FsoeStatus
impl Clone for FsoeStatus
Source§fn clone(&self) -> FsoeStatus
fn clone(&self) -> FsoeStatus
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 FsoeStatus
Auto Trait Implementations§
impl Freeze for FsoeStatus
impl RefUnwindSafe for FsoeStatus
impl Send for FsoeStatus
impl Sync for FsoeStatus
impl Unpin for FsoeStatus
impl UnsafeUnpin for FsoeStatus
impl UnwindSafe for FsoeStatus
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