[−][src]Struct nrf52_bin_logger::receivers::RealReceiver
The RealReceiver is used when actually sending data via the serial port. RealReceiver has three generic parameters:
T
: This is the deserializable type that can be received over
the serial port. It will be deserialized using postcard
,
and will be Cobs decoded for framing.
BUFSZ
: This is the size of the buffer used to store a single
message before deserializing. It must be large enough to
hold a serialized + cobs encoded message of type T
.
MSGCT
: This is the depth of a FIFO queue of type T. When
decoded, messages will be enqueued here for reception
This sender currently blocks during transmission
Trait Implementations
impl<T, BUFSZ, MSGCT> Receiver for RealReceiver<T, BUFSZ, MSGCT> where
BUFSZ: ArrayLength<u8>,
MSGCT: ArrayLength<T>,
[src]
BUFSZ: ArrayLength<u8>,
MSGCT: ArrayLength<T>,
impl<T, BUFSZ, MSGCT> Default for RealReceiver<T, BUFSZ, MSGCT> where
BUFSZ: ArrayLength<u8>,
MSGCT: ArrayLength<T>,
[src]
BUFSZ: ArrayLength<u8>,
MSGCT: ArrayLength<T>,
Auto Trait Implementations
impl<T, BUFSZ, MSGCT> Send for RealReceiver<T, BUFSZ, MSGCT> where
T: Send,
T: Send,
impl<T, BUFSZ, MSGCT> !Sync for RealReceiver<T, BUFSZ, MSGCT>
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self