struct CoreFactory {
descriptor: ToolImplementationDescriptor,
}Fields§
§descriptor: ToolImplementationDescriptorTrait Implementations§
Source§impl ToolImplementationFactory for CoreFactory
impl ToolImplementationFactory for CoreFactory
fn descriptor(&self) -> &ToolImplementationDescriptor
Source§fn validate_binding(&self, resource: &ToolBindingResource) -> Result<()>
fn validate_binding(&self, resource: &ToolBindingResource) -> Result<()>
Implementation-specific checks that require no execution or secret access.
fn bind<'life0, 'async_trait>(
&'life0 self,
request: ToolBindingRequest,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Tool>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for CoreFactory
impl RefUnwindSafe for CoreFactory
impl Send for CoreFactory
impl Sync for CoreFactory
impl Unpin for CoreFactory
impl UnsafeUnpin for CoreFactory
impl UnwindSafe for CoreFactory
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more