Struct comms_service::CommsService
source · [−]pub struct CommsService;
Expand description
Struct that enables users to start the Communication Service.
Implementations
sourceimpl CommsService
impl CommsService
sourcepub fn start<Connection: Clone + Send + 'static, Packet: LinkPacket + Send + 'static>(
control: CommsControlBlock<Connection>,
telem: &Arc<Mutex<CommsTelemetry>>
) -> CommsResult<()>
pub fn start<Connection: Clone + Send + 'static, Packet: LinkPacket + Send + 'static>(
control: CommsControlBlock<Connection>,
telem: &Arc<Mutex<CommsTelemetry>>
) -> CommsResult<()>
Starts an instance of the Communication Service and its associated background threads.
Auto Trait Implementations
impl RefUnwindSafe for CommsService
impl Send for CommsService
impl Sync for CommsService
impl Unpin for CommsService
impl UnwindSafe for CommsService
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