Enum wildland_corex::WildlandIdentity
source · [−]pub enum WildlandIdentity {
Forest(u64, SigningKeypair),
Device(String, SigningKeypair),
}
Variants
Forest(u64, SigningKeypair)
Device(String, SigningKeypair)
Implementations
sourceimpl WildlandIdentity
impl WildlandIdentity
pub fn get_identifier(&self) -> String
pub fn get_public_key(&self) -> PubKey
pub fn get_private_key(&self) -> SecKey
pub fn get_keypair_bytes(&self) -> Vec<u8>
pub fn get_keypair(&self) -> SigningKeypair
Trait Implementations
sourceimpl Debug for WildlandIdentity
impl Debug for WildlandIdentity
sourceimpl Display for WildlandIdentity
impl Display for WildlandIdentity
sourceimpl PartialEq<WildlandIdentity> for WildlandIdentity
impl PartialEq<WildlandIdentity> for WildlandIdentity
sourcefn eq(&self, other: &WildlandIdentity) -> bool
fn eq(&self, other: &WildlandIdentity) -> bool
impl StructuralPartialEq for WildlandIdentity
Auto Trait Implementations
impl RefUnwindSafe for WildlandIdentity
impl Send for WildlandIdentity
impl Sync for WildlandIdentity
impl Unpin for WildlandIdentity
impl UnwindSafe for WildlandIdentity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more