Enum backend::models::storage::ReferrerError [−][src]
pub enum ReferrerError {
Empty,
Invalid,
}
Expand description
Error type for referer check
Fields
RefererError::Empty
: The referer is emptyRefererError::Invalid
: The referer is invalid
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReferrerError
impl Send for ReferrerError
impl Sync for ReferrerError
impl Unpin for ReferrerError
impl UnwindSafe for ReferrerError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more