Enum router_error::RouterError
source · pub enum RouterError {
NotFound(Arc<dyn Explain>),
InvalidArgs,
NotSupported,
Internal,
Unknown,
}
Expand description
The error type returned by bedrock operations.
Variants§
Trait Implementations§
source§impl Clone for RouterError
impl Clone for RouterError
source§fn clone(&self) -> RouterError
fn clone(&self) -> RouterError
Returns a copy 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 RouterError
impl Debug for RouterError
source§impl Display for RouterError
impl Display for RouterError
source§impl Error for RouterError
impl Error for RouterError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 Explain for RouterError
impl Explain for RouterError
fn as_zx_status(&self) -> Status
source§impl From<RouterError> for RouterError
impl From<RouterError> for RouterError
source§fn from(err: RouterError) -> Self
fn from(err: RouterError) -> Self
Converts to this type from the input type.
source§impl From<RouterError> for RouterError
impl From<RouterError> for RouterError
source§fn from(err: RouterError) -> Self
fn from(err: RouterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RouterError
impl !RefUnwindSafe for RouterError
impl Send for RouterError
impl Sync for RouterError
impl Unpin for RouterError
impl !UnwindSafe for RouterError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)