pub enum BackendTarget {
FileSystem(Paths),
Database(Client),
}Expand description
Target backend.
Variants§
Implementations§
Source§impl BackendTarget
impl BackendTarget
Sourcepub async fn list_accounts(&self) -> Result<Vec<PublicIdentity>, Error>
pub async fn list_accounts(&self) -> Result<Vec<PublicIdentity>, Error>
List accounts.
Trait Implementations§
Source§impl Clone for BackendTarget
impl Clone for BackendTarget
Source§fn clone(&self) -> BackendTarget
fn clone(&self) -> BackendTarget
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BackendTarget
impl RefUnwindSafe for BackendTarget
impl Send for BackendTarget
impl Sync for BackendTarget
impl Unpin for BackendTarget
impl UnwindSafe for BackendTarget
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