Enum deno_graph::SpecifierError
source · pub enum SpecifierError {
InvalidUrl(ParseError),
ImportPrefixMissing(String, Option<ModuleSpecifier>),
}
Variants§
InvalidUrl(ParseError)
ImportPrefixMissing(String, Option<ModuleSpecifier>)
Trait Implementations§
source§impl Clone for SpecifierError
impl Clone for SpecifierError
source§fn clone(&self) -> SpecifierError
fn clone(&self) -> SpecifierError
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 SpecifierError
impl Debug for SpecifierError
source§impl Display for SpecifierError
impl Display for SpecifierError
source§impl Error for SpecifierError
impl Error for SpecifierError
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<SpecifierError> for ResolveError
impl From<SpecifierError> for ResolveError
source§fn from(source: SpecifierError) -> Self
fn from(source: SpecifierError) -> Self
Converts to this type from the input type.
source§impl PartialEq for SpecifierError
impl PartialEq for SpecifierError
source§fn eq(&self, other: &SpecifierError) -> bool
fn eq(&self, other: &SpecifierError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SpecifierError
impl StructuralPartialEq for SpecifierError
Auto Trait Implementations§
impl RefUnwindSafe for SpecifierError
impl Send for SpecifierError
impl Sync for SpecifierError
impl Unpin for SpecifierError
impl UnwindSafe for SpecifierError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.