pub struct Provisioner { /* private fields */ }Implementations§
Source§impl Provisioner
impl Provisioner
pub fn new( vault: Arc<dyn KeyVault>, data_dir: &Path, server_ref: &str, mail_domain: &str, ) -> Result<Self, ServerError>
Sourcepub fn set_policy(&mut self, policy: Policy)
pub fn set_policy(&mut self, policy: Policy)
Replace the status -> grants policy; the next reconcile applies the difference.
pub fn entries(&self) -> Vec<LedgerEntry>
pub fn entry(&self, node_id: &str) -> Option<&LedgerEntry>
Auto Trait Implementations§
impl !RefUnwindSafe for Provisioner
impl !UnwindSafe for Provisioner
impl Freeze for Provisioner
impl Send for Provisioner
impl Sync for Provisioner
impl Unpin for Provisioner
impl UnsafeUnpin for Provisioner
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