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 PartialEq<SpecifierError> for SpecifierError
impl PartialEq<SpecifierError> 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 StructuralEq 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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.