pub struct ManagedSecretIdentity { /* private fields */ }Expand description
Parsed deployment root identity. Its private key has no formatting surface.
Implementations§
Source§impl ManagedSecretIdentity
impl ManagedSecretIdentity
Sourcepub fn from_material(
material: &SecretMaterial,
) -> Result<Self, ManagedSecretError>
pub fn from_material( material: &SecretMaterial, ) -> Result<Self, ManagedSecretError>
Parses a protected age X25519 identity without exposing it through an ordinary string-returning interface.
Sourcepub fn load() -> Result<Self, ManagedSecretError>
pub fn load() -> Result<Self, ManagedSecretError>
Loads the identity from its fixed production projection.
Sourcepub fn load_next() -> Result<Self, ManagedSecretError>
pub fn load_next() -> Result<Self, ManagedSecretError>
Loads the next identity from its fixed production projection.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ManagedSecretIdentity
impl RefUnwindSafe for ManagedSecretIdentity
impl Send for ManagedSecretIdentity
impl Sync for ManagedSecretIdentity
impl Unpin for ManagedSecretIdentity
impl UnsafeUnpin for ManagedSecretIdentity
impl UnwindSafe for ManagedSecretIdentity
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