[−][src]Struct ublox_core::SerialInterface
This encapsulates the Serial UART peripheral and associated pins such as
- DRDY: Data Ready: Sensor uses this to indicate it had data available for read
Methods
impl<SER, CommE> SerialInterface<SER> where
SER: Read<u8, Error = CommE>,
[src]
SER: Read<u8, Error = CommE>,
Trait Implementations
impl<SER, CommE> DeviceInterface for SerialInterface<SER> where
SER: Read<u8, Error = CommE>,
[src]
SER: Read<u8, Error = CommE>,
type InterfaceError = Error<CommE>
Interface associated error type
fn read(&mut self) -> Result<u8, Self::InterfaceError>
[src]
fn fill(&mut self) -> usize
[src]
fn read_many(
&mut self,
buffer: &mut [u8]
) -> Result<usize, Self::InterfaceError>
[src]
&mut self,
buffer: &mut [u8]
) -> Result<usize, Self::InterfaceError>
Auto Trait Implementations
impl<SER> Send for SerialInterface<SER> where
SER: Send,
SER: Send,
impl<SER> Sync for SerialInterface<SER> where
SER: Sync,
SER: Sync,
impl<SER> Unpin for SerialInterface<SER> where
SER: Unpin,
SER: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,