pub struct CommandPolicy { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Policy for CommandPolicy
impl Policy for CommandPolicy
fn name(&self) -> &str
fn evaluate<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 PolicyContext,
) -> Pin<Box<dyn Future<Output = Result<PolicyOutcome, AgentError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for CommandPolicy
impl RefUnwindSafe for CommandPolicy
impl Send for CommandPolicy
impl Sync for CommandPolicy
impl Unpin for CommandPolicy
impl UnsafeUnpin for CommandPolicy
impl UnwindSafe for CommandPolicy
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