Type Alias script::dom::htmlscriptelement::ScriptResult
source · pub type ScriptResult = Result<ScriptOrigin, NoTrace<NetworkError>>;
Aliased Type§
enum ScriptResult {
Ok(ScriptOrigin),
Err(NoTrace<NetworkError>),
}
Variants§
Ok(ScriptOrigin)
Contains the success value
Err(NoTrace<NetworkError>)
Contains the error value
Trait Implementations§
1.0.0 · source§impl<T, E> Ord for Result<T, E>where
T: Ord,
E: Ord,
impl<T, E> Ord for Result<T, E>where T: Ord, E: Ord,
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
1.0.0 · source§impl<T, E> PartialEq<Result<T, E>> for Result<T, E>where
T: PartialEq<T>,
E: PartialEq<E>,
impl<T, E> PartialEq<Result<T, E>> for Result<T, E>where T: PartialEq<T>, E: PartialEq<E>,
1.0.0 · source§impl<T, E> PartialOrd<Result<T, E>> for Result<T, E>where
T: PartialOrd<T>,
E: PartialOrd<E>,
impl<T, E> PartialOrd<Result<T, E>> for Result<T, E>where T: PartialOrd<T>, E: PartialOrd<E>,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more