pub struct Crc32fast;Expand description
CRC32 checksum implementation.
Derives standard traits to allow this type to be used as a generic type parameter, when the containing type requires these bounds.
Trait Implementations§
Source§impl CodeqConfig for Crc32fast
impl CodeqConfig for Crc32fast
Source§fn new_writer<W>(inner: W) -> ChecksumWriter<Self, W>where
W: Write,
fn new_writer<W>(inner: W) -> ChecksumWriter<Self, W>where
W: Write,
Creates a new checksum writer wrapping the given writer.
Source§fn new_reader<R>(inner: R) -> ChecksumReader<Self, R>where
R: Read,
fn new_reader<R>(inner: R) -> ChecksumReader<Self, R>where
R: Read,
Creates a new checksum reader wrapping the given reader.
Source§fn wrap<T>(data: T) -> WithChecksum<Self, T>
fn wrap<T>(data: T) -> WithChecksum<Self, T>
Wraps data with checksum protection.
Source§impl Ord for Crc32fast
impl Ord for Crc32fast
Source§impl PartialOrd for Crc32fast
impl PartialOrd for Crc32fast
impl Copy for Crc32fast
impl Eq for Crc32fast
impl StructuralPartialEq for Crc32fast
Auto Trait Implementations§
impl Freeze for Crc32fast
impl RefUnwindSafe for Crc32fast
impl Send for Crc32fast
impl Sync for Crc32fast
impl Unpin for Crc32fast
impl UnwindSafe for Crc32fast
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