pub struct UsartRx<'d, M: Mode> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'d> Read for UsartRx<'d, Blocking>
impl<'d> Read for UsartRx<'d, Blocking>
Source§fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>
fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>
Read some bytes from this source into the specified buffer, returning how many bytes were read. Read more
Source§fn read_exact(
&mut self,
buf: &mut [u8],
) -> Result<(), ReadExactError<Self::Error>>
fn read_exact( &mut self, buf: &mut [u8], ) -> Result<(), ReadExactError<Self::Error>>
Read the exact number of bytes required to fill
buf
. Read moreAuto Trait Implementations§
impl<'d, M> Freeze for UsartRx<'d, M>
impl<'d, M> RefUnwindSafe for UsartRx<'d, M>where
M: RefUnwindSafe,
impl<'d, M> Send for UsartRx<'d, M>where
M: Send,
impl<'d, M> Sync for UsartRx<'d, M>where
M: Sync,
impl<'d, M> Unpin for UsartRx<'d, M>where
M: Unpin,
impl<'d, M> UnwindSafe for UsartRx<'d, M>where
M: UnwindSafe,
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