pub struct GovernanceLedger<'connection> { /* private fields */ }Implementations§
Source§impl<'connection> GovernanceLedger<'connection>
impl<'connection> GovernanceLedger<'connection>
Sourcepub fn provision(
connection: &'connection mut Connection,
study: StudyId,
) -> Result<Self, LakeError>
pub fn provision( connection: &'connection mut Connection, study: StudyId, ) -> Result<Self, LakeError>
Only datastore provisioning calls this, before publishing readiness.
Sourcepub fn open(
connection: &'connection mut Connection,
study: StudyId,
) -> Result<Self, LakeError>
pub fn open( connection: &'connection mut Connection, study: StudyId, ) -> Result<Self, LakeError>
Ordinary recovery never creates a missing ledger or guesses its origin.
Auto Trait Implementations§
impl<'connection> Freeze for GovernanceLedger<'connection>
impl<'connection> !RefUnwindSafe for GovernanceLedger<'connection>
impl<'connection> Send for GovernanceLedger<'connection>
impl<'connection> !Sync for GovernanceLedger<'connection>
impl<'connection> Unpin for GovernanceLedger<'connection>
impl<'connection> UnsafeUnpin for GovernanceLedger<'connection>
impl<'connection> !UnwindSafe for GovernanceLedger<'connection>
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