pub struct Preview {
pub session_id: SessionId,
pub session_type: SessionType,
pub privacy: bool,
pub control: bool,
}Available on crate feature
rustcrypto only.Expand description
What a receiver can read before it has found a key.
The first four octets are never obfuscated and never encrypted, which is what makes a session lookup possible at all.
Fields§
§session_id: SessionIdWhich session’s keys to try.
session_type: SessionTypeUnicast or group — it decides which counter rule and which key set apply.
privacy: boolWhether the header is obfuscated.
control: boolWhether this is a control message, which counts on its own counter.
Trait Implementations§
impl Copy for Preview
impl Eq for Preview
impl StructuralPartialEq for Preview
Auto Trait Implementations§
impl Forget for Preview
impl Freeze for Preview
impl Move for Preview
impl RefUnwindSafe for Preview
impl Send for Preview
impl Sync for Preview
impl Unpin for Preview
impl UnsafeUnpin for Preview
impl UnwindSafe for Preview
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