Struct dittolive_ditto::identity::Manual
source · [−]pub struct Manual { /* private fields */ }
Expand description
An identity where devices are manually configured with a x509 certificate bundle
Implementations
sourceimpl Manual
impl Manual
sourcepub fn new(manual_identity: impl Into<String>) -> Result<Self, DittoError>
pub fn new(manual_identity: impl Into<String>) -> Result<Self, DittoError>
Construct a Manual
identity.
A Ditto peer identity that was created manually rather than generated by an identity service. This is a text bundle beginning with the line “—–BEGIN DITTO IDENTITY—–”. To learn how to create and use Manual Identities please refer to Ditto’s online documentation.
manual_identity
: a multiline string containing a Manual Identity bundle
Auto Trait Implementations
impl RefUnwindSafe for Manual
impl Send for Manual
impl Sync for Manual
impl Unpin for Manual
impl UnwindSafe for Manual
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
impl<T> CompatExt for T
impl<T> CompatExt for T
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [
Compat
] adapter by shared reference. Read morefn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [
Compat
] adapter by mutable reference. Read more