pub enum McpServeError {
Disabled,
RemoteBindDisabled,
Http(HttpServeError),
}Expand description
MCP server startup error.
Variants§
Trait Implementations§
Source§impl Debug for McpServeError
impl Debug for McpServeError
Source§impl Display for McpServeError
impl Display for McpServeError
Source§impl Error for McpServeError
impl Error for McpServeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for McpServeError
impl !RefUnwindSafe for McpServeError
impl Send for McpServeError
impl Sync for McpServeError
impl Unpin for McpServeError
impl UnsafeUnpin for McpServeError
impl !UnwindSafe for McpServeError
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