pub struct Reservation { /* private fields */ }Implementations§
Source§impl Reservation
impl Reservation
pub fn create( root: &Path, request: &Request, plan: CreatePlan, ) -> Result<Self, Invalid>
pub fn open( root: &Path, request: &Request, plan: &CreatePlan, ) -> Result<Self, Invalid>
pub fn dispatch(&mut self) -> Result<ResolutionDispatch<'_>, Invalid>
pub fn retain_unknown(&mut self) -> Result<(), Invalid>
Explicit trusted operator policy, not human authentication. Normal recovery must not call this. No lease file may exist and image evidence is retained.
pub fn into_journal(self, invocation: &str) -> Result<Journal, Invalid>
Auto Trait Implementations§
impl Freeze for Reservation
impl RefUnwindSafe for Reservation
impl Send for Reservation
impl Sync for Reservation
impl Unpin for Reservation
impl UnsafeUnpin for Reservation
impl UnwindSafe for Reservation
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