pub enum EndpointTestError {
UnknownRoute(String),
Domain(HandleError),
Runtime(RuntimeFailure),
}Expand description
A failure to construct or directly invoke an Endpoint test request.
Variants§
UnknownRoute(String)
No authored route has the requested stable identifier.
Domain(HandleError)
The Endpoint intentionally returned a Capability-domain error.
Runtime(RuntimeFailure)
The Endpoint could not complete because its runtime failed.
Trait Implementations§
Source§impl Debug for EndpointTestError
impl Debug for EndpointTestError
Source§impl Display for EndpointTestError
impl Display for EndpointTestError
Source§impl Error for EndpointTestError
impl Error for EndpointTestError
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()
Source§impl From<EndpointHandleInvocationError> for EndpointTestError
impl From<EndpointHandleInvocationError> for EndpointTestError
Source§fn from(error: EndpointHandleInvocationError) -> Self
fn from(error: EndpointHandleInvocationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EndpointTestError
impl RefUnwindSafe for EndpointTestError
impl Send for EndpointTestError
impl Sync for EndpointTestError
impl Unpin for EndpointTestError
impl UnsafeUnpin for EndpointTestError
impl UnwindSafe for EndpointTestError
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