[][src]Struct stm32f103xx_hal::serial::ReleaseToken

pub struct ReleaseToken<USART, PINS> { /* fields omitted */ }

Methods

impl<USART, PINS: Pins<USART>> ReleaseToken<USART, PINS>[src]

pub fn release(self, _rx: Rx<USART>, tx: Tx<USART>) -> Serial<USART, PINS> where
    Tx<USART>: Write<u8>, 
[src]

waits for all communications to be done then release both Rx and Tx

Auto Trait Implementations

impl<USART, PINS> Send for ReleaseToken<USART, PINS> where
    PINS: Send,
    USART: Send

impl<USART, PINS> Sync for ReleaseToken<USART, PINS> where
    PINS: Sync,
    USART: Sync

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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