pub struct Pattern {
pub crypt_blocks: u8,
pub skip_blocks: u8,
}Expand description
Crypt/skip block pattern (tenc / pattern encryption).
Pattern::NONE means full-region encryption within each protected range
(cenc / cbc1). Non-zero patterns are for cens / cbcs (not Stage 1).
Fields§
§crypt_blocks: u8Encrypt this many 16-byte blocks, then skip.
skip_blocks: u8Leave this many 16-byte blocks clear (pattern schemes).
Implementations§
Trait Implementations§
impl Copy for Pattern
impl Eq for Pattern
impl StructuralPartialEq for Pattern
Auto Trait Implementations§
impl Freeze for Pattern
impl RefUnwindSafe for Pattern
impl Send for Pattern
impl Sync for Pattern
impl Unpin for Pattern
impl UnsafeUnpin for Pattern
impl UnwindSafe for Pattern
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