pub enum HttpCacheCreateErrorKind {
DenoDirResolution(DenoDirResolutionError),
WorkspaceDiscover(WorkspaceDiscoverError),
}Variants§
DenoDirResolution(DenoDirResolutionError)
WorkspaceDiscover(WorkspaceDiscoverError)
Implementations§
Source§impl HttpCacheCreateErrorKind
impl HttpCacheCreateErrorKind
pub fn into_box(self) -> HttpCacheCreateError
Trait Implementations§
Source§impl Debug for HttpCacheCreateErrorKind
impl Debug for HttpCacheCreateErrorKind
Source§impl Display for HttpCacheCreateErrorKind
impl Display for HttpCacheCreateErrorKind
Source§impl Error for HttpCacheCreateErrorKind
impl Error for HttpCacheCreateErrorKind
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<DenoDirResolutionError> for HttpCacheCreateErrorKind
impl From<DenoDirResolutionError> for HttpCacheCreateErrorKind
Source§fn from(source: DenoDirResolutionError) -> Self
fn from(source: DenoDirResolutionError) -> Self
Converts to this type from the input type.
Source§impl From<WorkspaceDiscoverError> for HttpCacheCreateErrorKind
impl From<WorkspaceDiscoverError> for HttpCacheCreateErrorKind
Source§fn from(source: WorkspaceDiscoverError) -> Self
fn from(source: WorkspaceDiscoverError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for HttpCacheCreateErrorKind
impl !UnwindSafe for HttpCacheCreateErrorKind
impl Freeze for HttpCacheCreateErrorKind
impl Send for HttpCacheCreateErrorKind
impl Sync for HttpCacheCreateErrorKind
impl Unpin for HttpCacheCreateErrorKind
impl UnsafeUnpin for HttpCacheCreateErrorKind
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
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSend for Twhere
T: ?Sized,
impl<T> MaybeSendSync for T
impl<T> MaybeSync for Twhere
T: ?Sized,
Source§impl<T> PathsInErrorsExt for Twhere
T: ?Sized,
impl<T> PathsInErrorsExt for Twhere
T: ?Sized,
Source§fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
Wraps
self in a SysWithPathsInErrors that includes paths in error messages.