pub struct SequentialThinkingServer { /* private fields */ }Implementations§
Source§impl SequentialThinkingServer
impl SequentialThinkingServer
Sourcepub fn with_config(
info: ServerInfo,
capabilities: ServerCapabilities,
disable_logging: bool,
) -> Self
pub fn with_config( info: ServerInfo, capabilities: ServerCapabilities, disable_logging: bool, ) -> Self
Create a new server with custom configuration
Sourcepub fn info(&self) -> &ServerInfo
pub fn info(&self) -> &ServerInfo
Get server information
Sourcepub fn capabilities(&self) -> &ServerCapabilities
pub fn capabilities(&self) -> &ServerCapabilities
Get server capabilities
Sourcepub async fn get_stats(&self) -> ServerStats
pub async fn get_stats(&self) -> ServerStats
Get server statistics
Sourcepub fn create_mcp_server(self) -> UltraFastServer
pub fn create_mcp_server(self) -> UltraFastServer
Create an UltraFast MCP server instance
Sourcepub async fn process_thought(
&self,
thought: ThoughtData,
) -> SequentialThinkingResult<ThoughtData>
pub async fn process_thought( &self, thought: ThoughtData, ) -> SequentialThinkingResult<ThoughtData>
Process a thought using the main engine
Sourcepub async fn create_session(
&self,
session_id: String,
) -> SequentialThinkingResult<()>
pub async fn create_session( &self, session_id: String, ) -> SequentialThinkingResult<()>
Create a new thinking session
Sourcepub async fn get_session(&self, session_id: &str) -> Option<ThinkingEngine>
pub async fn get_session(&self, session_id: &str) -> Option<ThinkingEngine>
Get a thinking session
Sourcepub async fn remove_session(&self, session_id: &str) -> bool
pub async fn remove_session(&self, session_id: &str) -> bool
Remove a thinking session
Sourcepub async fn get_session_ids(&self) -> Vec<String>
pub async fn get_session_ids(&self) -> Vec<String>
Get all active session IDs
Trait Implementations§
Source§impl Clone for SequentialThinkingServer
impl Clone for SequentialThinkingServer
Source§fn clone(&self) -> SequentialThinkingServer
fn clone(&self) -> SequentialThinkingServer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SequentialThinkingServer
impl Debug for SequentialThinkingServer
Auto Trait Implementations§
impl Freeze for SequentialThinkingServer
impl !RefUnwindSafe for SequentialThinkingServer
impl Send for SequentialThinkingServer
impl Sync for SequentialThinkingServer
impl Unpin for SequentialThinkingServer
impl !UnwindSafe for SequentialThinkingServer
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