pub struct GsmModemDriver { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Driver for GsmModemDriver
impl Driver for GsmModemDriver
fn open(&mut self, transport: &SharedTransport) -> Result<()>
fn close(&mut self) -> Result<()>
fn write(&mut self, data: &[u8]) -> Result<usize>
fn read(&mut self, buf: &mut [u8]) -> Result<usize>
fn set_line_config(&mut self, _cfg: LineConfig) -> Result<()>
fn set_flow_control(&mut self, flow: FlowControl) -> Result<()>
fn set_dtr(&mut self, _value: bool) -> Result<()>
fn set_rts(&mut self, _value: bool) -> Result<()>
fn set_break(&mut self, _enabled: bool) -> Result<()>
fn purge(&mut self, _kind: PurgeKind) -> Result<()>
fn modem_status(&mut self) -> Result<ModemStatus>
fn bulk_in_mps(&self) -> u16
fn take_bulk_in(&mut self) -> Option<Box<dyn BulkIn>>
fn rx_filters(&self) -> Vec<Box<dyn RxFilter>>
fn start_reader(&mut self) -> Result<SerialReader>
Auto Trait Implementations§
impl !RefUnwindSafe for GsmModemDriver
impl !Sync for GsmModemDriver
impl !UnwindSafe for GsmModemDriver
impl Freeze for GsmModemDriver
impl Send for GsmModemDriver
impl Unpin for GsmModemDriver
impl UnsafeUnpin for GsmModemDriver
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