pub struct SdkFactory;Trait Implementations§
Source§impl ClientFactory for SdkFactory
impl ClientFactory for SdkFactory
fn connect<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
connector: &'life1 Connector,
cancel: &'life2 CancellationToken,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Connection>, McpError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Forget for SdkFactory
impl Freeze for SdkFactory
impl RefUnwindSafe for SdkFactory
impl Send for SdkFactory
impl Sync for SdkFactory
impl Unpin for SdkFactory
impl UnsafeUnpin for SdkFactory
impl UnwindSafe for SdkFactory
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