pub struct KvRewrapReport {
pub dry_run: bool,
pub scanned: u64,
pub rewrapped: u64,
pub already_current: u64,
pub plaintext_skipped: u64,
pub legacy_skipped: u64,
pub vanished: u64,
pub failed: Vec<String>,
}Expand description
What rewrap_kv_keys did.
Fields§
§dry_run: boolWhether this run was a dry run (no writes performed).
scanned: u64Keys examined.
rewrapped: u64Envelopes decrypted under an older key and re-encrypted (or, in a dry run, that would be) under the current key.
already_current: u64Envelopes already under the current key: left untouched.
plaintext_skipped: u64Values that are not envelopes at all (plaintext): left untouched. Encrypt them with
migrate_kv_keys_to_encrypted first.
legacy_skipped: u64Envelopes in a legacy format (version below the current one): left untouched. Upgrade them with
migrate_kv_keys_to_encrypted and accept_legacy_v0 first.
vanished: u64Keys deleted between the listing and the read: not an error.
failed: Vec<String>Envelopes that no loaded key could decrypt (or whose binding to their key failed): a safe identifier for each, never the raw key. They are left as they were.
Trait Implementations§
Source§impl Clone for KvRewrapReport
impl Clone for KvRewrapReport
Source§impl Debug for KvRewrapReport
impl Debug for KvRewrapReport
Source§impl Default for KvRewrapReport
impl Default for KvRewrapReport
impl Eq for KvRewrapReport
Source§impl PartialEq for KvRewrapReport
impl PartialEq for KvRewrapReport
impl StructuralPartialEq for KvRewrapReport
Auto Trait Implementations§
impl Freeze for KvRewrapReport
impl RefUnwindSafe for KvRewrapReport
impl Send for KvRewrapReport
impl Sync for KvRewrapReport
impl Unpin for KvRewrapReport
impl UnsafeUnpin for KvRewrapReport
impl UnwindSafe for KvRewrapReport
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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