pub struct CustomExecutorHandle {
pub inner: Arc<dyn CustomToolExecutor>,
}Expand description
A wrapper that makes CustomToolExecutor cloneable for the enum.
Fields§
§inner: Arc<dyn CustomToolExecutor>Implementations§
Source§impl CustomExecutorHandle
impl CustomExecutorHandle
pub fn new(exec: Arc<dyn CustomToolExecutor>) -> Self
Trait Implementations§
Source§impl Clone for CustomExecutorHandle
impl Clone for CustomExecutorHandle
Source§fn clone(&self) -> CustomExecutorHandle
fn clone(&self) -> CustomExecutorHandle
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for CustomExecutorHandle
impl !UnwindSafe for CustomExecutorHandle
impl Freeze for CustomExecutorHandle
impl Send for CustomExecutorHandle
impl Sync for CustomExecutorHandle
impl Unpin for CustomExecutorHandle
impl UnsafeUnpin for CustomExecutorHandle
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