pub struct ToolTimedOut(pub String);Expand description
A call ran out of time (a command or remote operation the tool waited on). Another call may succeed, so the failure is retryable and does not count toward the tool’s lockout; the type says so, never the words “timed out”.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for ToolTimedOut
impl Debug for ToolTimedOut
Source§impl Display for ToolTimedOut
impl Display for ToolTimedOut
Source§impl Error for ToolTimedOut
impl Error for ToolTimedOut
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 Forget for ToolTimedOut
impl Freeze for ToolTimedOut
impl Move for ToolTimedOut
impl RefUnwindSafe for ToolTimedOut
impl Send for ToolTimedOutwhere
RawVecInner: Send,
impl Sync for ToolTimedOutwhere
RawVecInner: Sync,
impl Unpin for ToolTimedOut
impl UnsafeUnpin for ToolTimedOut
impl UnwindSafe for ToolTimedOutwhere
RawVecInner: UnwindSafe,
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