pub struct InitError<UART, TXPIN, RXPIN> {
pub uart: UART,
pub pins: (TXPIN, RXPIN),
pub error: InitErrorKind,
}Fields§
§uart: UART§pins: (TXPIN, RXPIN)§error: InitErrorKindImplementations§
Source§impl<UART, TXPIN, RXPIN> InitError<UART, TXPIN, RXPIN>
impl<UART, TXPIN, RXPIN> InitError<UART, TXPIN, RXPIN>
pub fn into_parts(self) -> (UART, (TXPIN, RXPIN), InitErrorKind)
Trait Implementations§
Auto Trait Implementations§
impl<UART, TXPIN, RXPIN> Freeze for InitError<UART, TXPIN, RXPIN>
impl<UART, TXPIN, RXPIN> RefUnwindSafe for InitError<UART, TXPIN, RXPIN>
impl<UART, TXPIN, RXPIN> Send for InitError<UART, TXPIN, RXPIN>
impl<UART, TXPIN, RXPIN> Sync for InitError<UART, TXPIN, RXPIN>
impl<UART, TXPIN, RXPIN> Unpin for InitError<UART, TXPIN, RXPIN>
impl<UART, TXPIN, RXPIN> UnsafeUnpin for InitError<UART, TXPIN, RXPIN>
impl<UART, TXPIN, RXPIN> UnwindSafe for InitError<UART, TXPIN, RXPIN>
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