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§
source§impl 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§
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