pub struct RpcSession { /* private fields */ }Expand description
Per-connection protocol framing state; application state stays in the Host.
Implementations§
Source§impl RpcSession
impl RpcSession
Sourcepub fn requires_persistent_session(&self) -> bool
pub fn requires_persistent_session(&self) -> bool
Whether initialization-based MCP negotiation must survive between requests. Stateless JSON/current-MCP browser sessions may be evicted when an inactive cache fills.
Auto Trait Implementations§
impl Forget for RpcSession
impl Freeze for RpcSession
impl RefUnwindSafe for RpcSession
impl Send for RpcSession
impl Sync for RpcSession
impl Unpin for RpcSession
impl UnsafeUnpin for RpcSession
impl UnwindSafe for RpcSession
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