pub struct Event {
pub por_detected: bool,
pub persistent_err: PersistentErrors,
}
Expand description
Sensor event flags. Will be cleared on read when bit 0 is sent out over the bus.
Fields§
§por_detected: bool
True after device power up or softreset. False after status read.
persistent_err: PersistentErrors
Persistent errors.
Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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