pub enum MCPSessionState {
Initializing,
Active,
Inactive,
Terminated,
}
Expand description
MCP session state
Variants§
Initializing
Session is initializing
Active
Session is active
Inactive
Session is inactive
Terminated
Session is terminated
Trait Implementations§
Source§impl Clone for MCPSessionState
impl Clone for MCPSessionState
Source§fn clone(&self) -> MCPSessionState
fn clone(&self) -> MCPSessionState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MCPSessionState
impl Debug for MCPSessionState
Source§impl PartialEq for MCPSessionState
impl PartialEq for MCPSessionState
impl StructuralPartialEq for MCPSessionState
Auto Trait Implementations§
impl Freeze for MCPSessionState
impl RefUnwindSafe for MCPSessionState
impl Send for MCPSessionState
impl Sync for MCPSessionState
impl Unpin for MCPSessionState
impl UnwindSafe for MCPSessionState
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