pub struct CommandValidator { /* private fields */ }Implementations§
Source§impl CommandValidator
impl CommandValidator
pub fn new(policy: SandboxPolicy) -> Self
Trait Implementations§
Source§impl Validator for CommandValidator
impl Validator for CommandValidator
fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
receipt: &'life1 SandboxReceipt,
plan: &'life2 ValidationPlan,
) -> Pin<Box<dyn Future<Output = Result<ValidationReport, ValidationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for CommandValidator
impl RefUnwindSafe for CommandValidator
impl Send for CommandValidator
impl Sync for CommandValidator
impl Unpin for CommandValidator
impl UnsafeUnpin for CommandValidator
impl UnwindSafe for CommandValidator
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