pub enum McpConnectOutcome {
Connected {
conn: McpServerConnection,
reauth_config: Option<StreamableHttpClientTransportConfig>,
},
NeedsOAuth {
config: StreamableHttpClientTransportConfig,
error: McpError,
},
Failed {
error: McpError,
},
}Variants§
Auto Trait Implementations§
impl !RefUnwindSafe for McpConnectOutcome
impl !UnwindSafe for McpConnectOutcome
impl Freeze for McpConnectOutcome
impl Send for McpConnectOutcome
impl Sync for McpConnectOutcome
impl Unpin for McpConnectOutcome
impl UnsafeUnpin for McpConnectOutcome
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