pub struct GpioMon<'a> { /* private fields */ }
Implementations§
Source§impl<'a> GpioMon<'a>
impl<'a> GpioMon<'a>
pub fn start( transport: &'a TransportWrapper, pins: &[(&str, &str)], dump_on_drop: bool, ) -> Result<Self>
pub fn timestamp_to_ns(&self, timestamp: u64) -> u64
pub fn signal_index(&self, name: &str) -> Option<usize>
pub fn initial_levels(&self) -> Vec<bool>
pub fn all_events(&self) -> impl Iterator<Item = &MonitoringEvent>
pub fn read( &mut self, continue_monitoring: bool, ) -> Result<Vec<MonitoringEvent>>
pub fn dump_on_drop(&mut self, dump_on_drop: bool)
pub fn dump_vcd(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GpioMon<'a>
impl<'a> !RefUnwindSafe for GpioMon<'a>
impl<'a> !Send for GpioMon<'a>
impl<'a> !Sync for GpioMon<'a>
impl<'a> Unpin for GpioMon<'a>
impl<'a> !UnwindSafe for GpioMon<'a>
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