Enum rpc_router::FromResourcesError
source · pub enum FromResourcesError {
ResourceNotFound(&'static str),
}
Variants§
Implementations§
source§impl FromResourcesError
impl FromResourcesError
pub fn resource_not_found<T: ?Sized>() -> FromResourcesError
Trait Implementations§
source§impl Debug for FromResourcesError
impl Debug for FromResourcesError
source§impl Display for FromResourcesError
impl Display for FromResourcesError
source§impl Error for FromResourcesError
impl Error for FromResourcesError
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 From<FromResourcesError> for Error
impl From<FromResourcesError> for Error
source§fn from(val: FromResourcesError) -> Self
fn from(val: FromResourcesError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FromResourcesError
impl RefUnwindSafe for FromResourcesError
impl Send for FromResourcesError
impl Sync for FromResourcesError
impl Unpin for FromResourcesError
impl UnwindSafe for FromResourcesError
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