pub struct AllowAllApprovalHandler;Trait Implementations§
Source§impl ApprovalHandler for AllowAllApprovalHandler
impl ApprovalHandler for AllowAllApprovalHandler
fn approve<'life0, 'async_trait>(
&'life0 self,
_request: ApprovalRequest,
) -> Pin<Box<dyn Future<Output = AgentResult<ApprovalDecision>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Clone for AllowAllApprovalHandler
impl Clone for AllowAllApprovalHandler
Source§fn clone(&self) -> AllowAllApprovalHandler
fn clone(&self) -> AllowAllApprovalHandler
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AllowAllApprovalHandler
impl Debug for AllowAllApprovalHandler
Source§impl Default for AllowAllApprovalHandler
impl Default for AllowAllApprovalHandler
Source§fn default() -> AllowAllApprovalHandler
fn default() -> AllowAllApprovalHandler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AllowAllApprovalHandler
impl RefUnwindSafe for AllowAllApprovalHandler
impl Send for AllowAllApprovalHandler
impl Sync for AllowAllApprovalHandler
impl Unpin for AllowAllApprovalHandler
impl UnsafeUnpin for AllowAllApprovalHandler
impl UnwindSafe for AllowAllApprovalHandler
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