pub enum SecretItem {
GithubCredential,
CoordinatorKey,
}Expand description
Which value a PlatformSecretStore holds.
Every item lives in the same protected place, with the same per-OS protection; only its name differs. The GitHub credential is the default.
Variants§
GithubCredential
The GitHub user access token (auth login).
CoordinatorKey
The Ed25519 private key this host proves itself to a coordinator with
(coordinator join).
Implementations§
Trait Implementations§
Source§impl Clone for SecretItem
impl Clone for SecretItem
impl Copy for SecretItem
Source§impl Debug for SecretItem
impl Debug for SecretItem
impl Eq for SecretItem
Source§impl PartialEq for SecretItem
impl PartialEq for SecretItem
impl StructuralPartialEq for SecretItem
Auto Trait Implementations§
impl Forget for SecretItem
impl Freeze for SecretItem
impl RefUnwindSafe for SecretItem
impl Send for SecretItem
impl Sync for SecretItem
impl Unpin for SecretItem
impl UnsafeUnpin for SecretItem
impl UnwindSafe for SecretItem
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