pub struct Coven;Implementations§
Source§impl Coven
impl Coven
pub fn builder( store_dir: StoreDir, config: impl Into<CovenConfig>, ) -> CovenBuilder
Sourcepub fn forget_keyring_master_key(store_id: &str) -> Result<(), KeyError>
pub fn forget_keyring_master_key(store_id: &str) -> Result<(), KeyError>
Remove the master key for a closed store that cannot be opened.
An open store performs this through CovenHandle::forget_master_key,
which also disconnects operations retaining the unlocked value. This
entry point exists for host deletion flows whose damaged local database
prevents constructing a handle at all; Coven still owns the keyring
account and slot selection.
Auto Trait Implementations§
impl Freeze for Coven
impl RefUnwindSafe for Coven
impl Send for Coven
impl Sync for Coven
impl Unpin for Coven
impl UnsafeUnpin for Coven
impl UnwindSafe for Coven
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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.