pub struct UrcHandler<'a, const N: usize, const L: usize> { /* private fields */ }Expand description
Handles unsolicited result codes (URCs) received from the modem.
This handler is intended to run as a long-lived task that continuously polls for URC messages
and processes them. It is typically launched by calling Modem::urc_handler followed by
.run().await.
Implementations§
Auto Trait Implementations§
impl<'a, const N: usize, const L: usize> Freeze for UrcHandler<'a, N, L>
impl<'a, const N: usize, const L: usize> !RefUnwindSafe for UrcHandler<'a, N, L>
impl<'a, const N: usize, const L: usize> !Send for UrcHandler<'a, N, L>
impl<'a, const N: usize, const L: usize> !Sync for UrcHandler<'a, N, L>
impl<'a, const N: usize, const L: usize> Unpin for UrcHandler<'a, N, L>
impl<'a, const N: usize, const L: usize> !UnwindSafe for UrcHandler<'a, N, L>
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