Trait block_padding::RawPadding
source · pub trait RawPadding {
const TYPE: PadType;
// Required methods
fn raw_pad(block: &mut [u8], pos: usize);
fn raw_unpad(block: &[u8]) -> Result<&[u8], UnpadError>;
}
Expand description
Trait for padding messages divided into blocks of arbitrary size
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.