pub struct OperatorRecovery { /* private fields */ }Implementations§
Source§impl OperatorRecovery
impl OperatorRecovery
Sourcepub fn open_mapped(
base: &Path,
project: &str,
resource: &str,
fence: u64,
lease_invocation: &str,
authorization: &str,
) -> Result<Self, Invalid>
pub fn open_mapped( base: &Path, project: &str, resource: &str, fence: u64, lease_invocation: &str, authorization: &str, ) -> Result<Self, Invalid>
Caller must originate in an explicit operator command, never normal start. Exact fence and lease invocation are required; authority is never inferred.
pub fn resolve_request(&self) -> &Request
pub fn target(&self) -> Result<Target, Invalid>
pub fn phase(&self) -> Phase
pub fn check(&self) -> Result<(), Invalid>
pub fn begin( &mut self, operation: Operation, invocation: &str, ) -> Result<Dispatch<'_>, Invalid>
pub fn finish(self) -> Result<(), Invalid>
Auto Trait Implementations§
impl Freeze for OperatorRecovery
impl RefUnwindSafe for OperatorRecovery
impl Send for OperatorRecovery
impl Sync for OperatorRecovery
impl Unpin for OperatorRecovery
impl UnsafeUnpin for OperatorRecovery
impl UnwindSafe for OperatorRecovery
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