pub struct Credo(/* private fields */);Implementations§
Source§impl Credo
impl Credo
pub fn new(name: String, background: Mofo) -> Credo
pub fn new_with_telepathy( name: String, telepathy: Node, background: Mofo, ) -> Credo
pub async fn create_scope( &self, initial_recipient: Credential, initial_permissions: Vec<PermissionKind>, parent_scope: Option<ScopeID>, credential_source: Box<dyn CredentialSource>, ) -> Scope
pub fn get_scope( &self, scope_id: &ScopeID, credential_source: Box<dyn CredentialSource>, ) -> Scope
pub async fn add_remote(&self, remote: Remote)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Credo
impl !RefUnwindSafe for Credo
impl !Send for Credo
impl !Sync for Credo
impl Unpin for Credo
impl !UnwindSafe for Credo
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