pub enum KeyHalf {
Unspecified,
Public,
Private,
}Expand description
Which half of a keypair a coordinate refers to (KOV-12). Only meaningful for
the Keypair modality; for a literal/reference it is always KeyHalf::Unspecified.
Variants§
Unspecified
No #public/#private fragment given. For a keypair, resolution
defaults to the public half (the safe, non-secret default); a face
that needs the private half must ask for it explicitly.
Public
#public — the public key (free, non-secret; a Metadata-class op).
Private
#private — the private key (a private-key op: routed as Inject,
broker-gated for high/prod, never returned to the caller’s context).
Trait Implementations§
impl Copy for KeyHalf
impl Eq for KeyHalf
impl StructuralPartialEq for KeyHalf
Auto Trait Implementations§
impl Freeze for KeyHalf
impl RefUnwindSafe for KeyHalf
impl Send for KeyHalf
impl Sync for KeyHalf
impl Unpin for KeyHalf
impl UnsafeUnpin for KeyHalf
impl UnwindSafe for KeyHalf
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