pub struct Agent { /* private fields */ }
Expand description
See Agent
.
Implementations§
Source§impl Agent
impl Agent
Sourcepub async fn disconnect(&mut self) -> Result<(), Error>
pub async fn disconnect(&mut self) -> Result<(), Error>
See disconnect
.
Sourcepub fn list_identities(&mut self) -> Result<(), Error>
pub fn list_identities(&mut self) -> Result<(), Error>
See list_identities
.
Sourcepub fn identities(&self) -> Result<Vec<PublicKey>, Error>
pub fn identities(&self) -> Result<Vec<PublicKey>, Error>
See identities
.
Auto Trait Implementations§
impl Freeze for Agent
impl !RefUnwindSafe for Agent
impl Send for Agent
impl Sync for Agent
impl Unpin for Agent
impl !UnwindSafe for Agent
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