pub struct StreamableTransportOptions {
pub mcp_url: String,
pub request_options: RequestOptions,
}Fields§
§mcp_url: String§request_options: RequestOptionsImplementations§
Source§impl StreamableTransportOptions
impl StreamableTransportOptions
pub async fn terminate_session(&self, session_id: Option<&String>)
Auto Trait Implementations§
impl Freeze for StreamableTransportOptions
impl RefUnwindSafe for StreamableTransportOptions
impl Send for StreamableTransportOptions
impl Sync for StreamableTransportOptions
impl Unpin for StreamableTransportOptions
impl UnsafeUnpin for StreamableTransportOptions
impl UnwindSafe for StreamableTransportOptions
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