pub struct FlowControlSerial<UART, TXPIN, RXPIN, FLOWPINS>{ /* private fields */ }Implementations§
Source§impl<UART, TXPIN, RXPIN, FLOWPINS> FlowControlSerial<UART, TXPIN, RXPIN, FLOWPINS>
impl<UART, TXPIN, RXPIN, FLOWPINS> FlowControlSerial<UART, TXPIN, RXPIN, FLOWPINS>
pub fn new( uart: UART, pins: (TXPIN, RXPIN, FLOWPINS), config: Config, ) -> Result<Self, ModeInitError<UART, (TXPIN, RXPIN, FLOWPINS)>>
pub fn release(self) -> (UART, (TXPIN, RXPIN, FLOWPINS))
pub fn split( self, ) -> (Tx<UART, TXPIN, Owned>, Rx<UART, RXPIN, Borrowed>, FLOWPINS)
Auto Trait Implementations§
impl<UART, TXPIN, RXPIN, FLOWPINS> Freeze for FlowControlSerial<UART, TXPIN, RXPIN, FLOWPINS>
impl<UART, TXPIN, RXPIN, FLOWPINS> RefUnwindSafe for FlowControlSerial<UART, TXPIN, RXPIN, FLOWPINS>
impl<UART, TXPIN, RXPIN, FLOWPINS> Send for FlowControlSerial<UART, TXPIN, RXPIN, FLOWPINS>
impl<UART, TXPIN, RXPIN, FLOWPINS> Sync for FlowControlSerial<UART, TXPIN, RXPIN, FLOWPINS>
impl<UART, TXPIN, RXPIN, FLOWPINS> Unpin for FlowControlSerial<UART, TXPIN, RXPIN, FLOWPINS>
impl<UART, TXPIN, RXPIN, FLOWPINS> UnsafeUnpin for FlowControlSerial<UART, TXPIN, RXPIN, FLOWPINS>
impl<UART, TXPIN, RXPIN, FLOWPINS> UnwindSafe for FlowControlSerial<UART, TXPIN, RXPIN, FLOWPINS>
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