Struct postcard::ser_flavors::crc::CrcModifier
source · pub struct CrcModifier<'a, B, W>where
B: Flavor,
W: Width,{ /* private fields */ }
Available on crate feature
use-crc
only.Expand description
Manages CRC modifications as a flavor.
Implementations§
Trait Implementations§
source§impl<'a, B> Flavor for CrcModifier<'a, B, u128>where
B: Flavor,
impl<'a, B> Flavor for CrcModifier<'a, B, u128>where B: Flavor,
§type Output = <B as Flavor>::Output
type Output = <B as Flavor>::Output
The
Output
type is what this storage “resolves” to when the serialization is complete,
such as a slice or a Vec of some sort.source§impl<'a, B> Flavor for CrcModifier<'a, B, u16>where
B: Flavor,
impl<'a, B> Flavor for CrcModifier<'a, B, u16>where B: Flavor,
§type Output = <B as Flavor>::Output
type Output = <B as Flavor>::Output
The
Output
type is what this storage “resolves” to when the serialization is complete,
such as a slice or a Vec of some sort.source§impl<'a, B> Flavor for CrcModifier<'a, B, u32>where
B: Flavor,
impl<'a, B> Flavor for CrcModifier<'a, B, u32>where B: Flavor,
§type Output = <B as Flavor>::Output
type Output = <B as Flavor>::Output
The
Output
type is what this storage “resolves” to when the serialization is complete,
such as a slice or a Vec of some sort.source§impl<'a, B> Flavor for CrcModifier<'a, B, u64>where
B: Flavor,
impl<'a, B> Flavor for CrcModifier<'a, B, u64>where B: Flavor,
§type Output = <B as Flavor>::Output
type Output = <B as Flavor>::Output
The
Output
type is what this storage “resolves” to when the serialization is complete,
such as a slice or a Vec of some sort.source§impl<'a, B> Flavor for CrcModifier<'a, B, u8>where
B: Flavor,
impl<'a, B> Flavor for CrcModifier<'a, B, u8>where B: Flavor,
§type Output = <B as Flavor>::Output
type Output = <B as Flavor>::Output
The
Output
type is what this storage “resolves” to when the serialization is complete,
such as a slice or a Vec of some sort.Auto Trait Implementations§
impl<'a, B, W> RefUnwindSafe for CrcModifier<'a, B, W>where B: RefUnwindSafe, W: RefUnwindSafe,
impl<'a, B, W> Send for CrcModifier<'a, B, W>where B: Send, W: Send + Sync,
impl<'a, B, W> Sync for CrcModifier<'a, B, W>where B: Sync, W: Sync,
impl<'a, B, W> Unpin for CrcModifier<'a, B, W>where B: Unpin, W: Unpin,
impl<'a, B, W> UnwindSafe for CrcModifier<'a, B, W>where B: UnwindSafe, W: UnwindSafe + RefUnwindSafe,
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