pub enum ScopeError {
CrossOriginDenied,
Malformed,
}Expand description
Reason an outbound URL was rejected by validate_outbound_url.
Variants§
CrossOriginDenied
The URL is absolute/cross-origin and no --allow-origin permits it.
Malformed
The URL could not be parsed or is otherwise malformed.
Trait Implementations§
Source§impl Debug for ScopeError
impl Debug for ScopeError
impl Eq for ScopeError
Source§impl PartialEq for ScopeError
impl PartialEq for ScopeError
Source§fn eq(&self, other: &ScopeError) -> bool
fn eq(&self, other: &ScopeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScopeError
Auto Trait Implementations§
impl Freeze for ScopeError
impl RefUnwindSafe for ScopeError
impl Send for ScopeError
impl Sync for ScopeError
impl Unpin for ScopeError
impl UnsafeUnpin for ScopeError
impl UnwindSafe for ScopeError
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.