Struct serial_comms_service::model::Subsystem
source · [−]pub struct Subsystem {
telem: Arc<Mutex<CommsTelemetry>>,
}
Fields
telem: Arc<Mutex<CommsTelemetry>>
Implementations
sourceimpl Subsystem
impl Subsystem
pub fn new(telem: Arc<Mutex<CommsTelemetry>>) -> Subsystem
pub fn failed_packets_up(&self) -> Result<i32, String>
pub fn failed_packets_down(&self) -> Result<i32, String>
pub fn packets_up(&self) -> Result<i32, String>
pub fn packets_down(&self) -> Result<i32, String>
pub fn errors(&self) -> Result<Vec<String>, String>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Subsystem
impl Send for Subsystem
impl Sync for Subsystem
impl Unpin for Subsystem
impl UnwindSafe for Subsystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more