Enum validators::HostError [−][src]
pub enum HostError {
Invalid,
LocalMust,
LocalNotAllow,
AtLeastTwoLabelsMust,
AtLeastTwoLabelsNotAllow,
PortMust,
PortNotAllow,
}Variants
the fallback variant
may not be valid but it is guaranteed that the domain part is not local
may not be valid but it is guaranteed that the domain part is local
may not be valid but it is guaranteed that the domain part has only one label
may not be valid but it is guaranteed that the domain part has at least two labels
may not be valid but missing a port is guaranteed
may not be valid and the port part seems to exist
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HostError
impl UnwindSafe for HostError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. 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.