pub enum NodeTimeoutError {
Timeout {
node: String,
timeout_ms: u64,
},
RunTimeout {
node: String,
timeout: u64,
},
IdleTimeout {
node: String,
timeout: u64,
},
DeadlineExceeded {
node: String,
},
}Expand description
Node timeout error variants
Describes timeout conditions during node execution.
Variants§
Timeout
Node execution exceeded the specified timeout duration
RunTimeout
Node execution exceeded its run timeout
IdleTimeout
Node execution exceeded its idle timeout
DeadlineExceeded
Node execution exceeded its deadline
Trait Implementations§
Source§impl Clone for NodeTimeoutError
impl Clone for NodeTimeoutError
Source§fn clone(&self) -> NodeTimeoutError
fn clone(&self) -> NodeTimeoutError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodeTimeoutError
impl Debug for NodeTimeoutError
Source§impl Display for NodeTimeoutError
impl Display for NodeTimeoutError
Source§impl Error for NodeTimeoutError
impl Error for NodeTimeoutError
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 NodeTimeoutError
impl RefUnwindSafe for NodeTimeoutError
impl Send for NodeTimeoutError
impl Sync for NodeTimeoutError
impl Unpin for NodeTimeoutError
impl UnsafeUnpin for NodeTimeoutError
impl UnwindSafe for NodeTimeoutError
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