pub struct FileWrap { /* private fields */ }Expand description
The master key file’s backend: the master key is the root, and tenant keys are wrapped under it locally. Debug shows only the key’s id.
Implementations§
Trait Implementations§
Source§impl KeyWrap for FileWrap
impl KeyWrap for FileWrap
Source§fn key_id(&self) -> KeyId
fn key_id(&self) -> KeyId
The id of the key that wraps tenant keys. The registry counts each
wrap against it, and a key rotation records when its use began.
Source§fn root(&self) -> &Key
fn root(&self) -> &Key
The root of the hierarchy: the key the server catalog key is derived
from (
envelope::catalog_key).Auto Trait Implementations§
impl Forget for FileWrap
impl Freeze for FileWrap
impl Move for FileWrap
impl RefUnwindSafe for FileWrap
impl Send for FileWrap
impl Sync for FileWrap
impl Unpin for FileWrap
impl UnsafeUnpin for FileWrap
impl UnwindSafe for FileWrap
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> 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 moreCreates a shared type from an unshared type.