pub struct RunnerPlan { /* private fields */ }Implementations§
Source§impl RunnerPlan
impl RunnerPlan
pub fn policy(&self) -> &PolicyDecision
pub fn approval_required(&self) -> bool
pub fn containment_available(&self) -> bool
Source§impl RunnerPlan
impl RunnerPlan
pub fn validate_approval( &self, request: &RunnerRequest, approval: Option<&Approval>, ) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for RunnerPlan
impl Clone for RunnerPlan
Source§impl Debug for RunnerPlan
impl Debug for RunnerPlan
impl Eq for RunnerPlan
Source§impl PartialEq for RunnerPlan
impl PartialEq for RunnerPlan
impl StructuralPartialEq for RunnerPlan
Auto Trait Implementations§
impl Forget for RunnerPlan
impl Freeze for RunnerPlanwhere
*const u8 is !null: Freeze,
PhantomData<ReasonCode>: Freeze,
PhantomData<Evidence>: Freeze,
PhantomData<u8>: Freeze,
impl Move for RunnerPlan
impl RefUnwindSafe for RunnerPlan
impl Send for RunnerPlanwhere
RawVecInner: Send,
impl Sync for RunnerPlanwhere
RawVecInner: Sync,
impl Unpin for RunnerPlan
impl UnsafeUnpin for RunnerPlanwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ReasonCode>: UnsafeUnpin,
PhantomData<Evidence>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for RunnerPlanwhere
RawVecInner: UnwindSafe,
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