pub struct Inspect {
pub version: u16,
pub encrypted: bool,
pub signed: bool,
pub file_bytes: u64,
pub sections: Vec<SectionEntry>,
pub stanzas: Vec<StanzaInfo>,
pub signature: Option<SignatureBlock>,
}Expand description
What can be learned about an archive without credentials: framing, sections, how it can be unlocked (stanza types and KDF parameters) and whether it is signed.
Fields§
§version: u16§encrypted: bool§signed: bool§file_bytes: u64§sections: Vec<SectionEntry>§stanzas: Vec<StanzaInfo>§signature: Option<SignatureBlock>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inspect
impl RefUnwindSafe for Inspect
impl Send for Inspect
impl Sync for Inspect
impl Unpin for Inspect
impl UnsafeUnpin for Inspect
impl UnwindSafe for Inspect
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more