[][src]Struct ublox_core::SerialInterface

pub struct SerialInterface<SER> { /* fields omitted */ }

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]

pub fn new(serial_port: SER) -> Self[src]

Trait Implementations

impl<SER, CommE> DeviceInterface for SerialInterface<SER> where
    SER: Read<u8, Error = CommE>, 
[src]

type InterfaceError = Error<CommE>

Interface associated error type

Auto Trait Implementations

impl<SER> Send for SerialInterface<SER> where
    SER: Send

impl<SER> Sync for SerialInterface<SER> where
    SER: Sync

impl<SER> Unpin for SerialInterface<SER> where
    SER: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.