Trait LocalIdentitySource
pub trait LocalIdentitySource: Send + Sync {
// Required method
fn load(&self) -> Option<LocalIdentity>;
}Expand description
Resolves the local person’s identity. Not memoised by callers: a process hosting more than one identity must not be frozen into the first one.
Required Methods§
fn load(&self) -> Option<LocalIdentity>
Implementors§
impl LocalIdentitySource for FixedIdentity
impl LocalIdentitySource for NoLocalIdentity
impl LocalIdentitySource for RuntimeIdentity
Available on crate feature
local-daemons only.