Struct postform_decoder::SerialDecoder
source · [−]pub struct SerialDecoder<'a> { /* private fields */ }
Expand description
Decoder for logs sent through a SerialLogger in libpostform. Implements rcobs decoding and detection of start/end of message.
Implementations
sourceimpl<'a> SerialDecoder<'a>
impl<'a> SerialDecoder<'a>
sourcepub fn new(elf_metadata: &'a ElfMetadata) -> Self
pub fn new(elf_metadata: &'a ElfMetadata) -> Self
Creates a new SerialDecoder instance.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SerialDecoder<'a>
impl<'a> Send for SerialDecoder<'a>
impl<'a> Sync for SerialDecoder<'a>
impl<'a> Unpin for SerialDecoder<'a>
impl<'a> UnwindSafe for SerialDecoder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more