Enum jid_gst_meet::JidParseError [−][src]
pub enum JidParseError {
NoDomain,
NoResource,
EmptyNode,
EmptyResource,
}
Expand description
An error that signifies that a Jid
cannot be parsed from a string.
Variants
Happens when there is no domain, that is either the string is empty, starts with a /, or contains the @/ sequence.
Happens when there is no resource, that is string contains no /.
Happens when the node is empty, that is the string starts with a @.
Happens when the resource is empty, that is the string ends with a /.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JidParseError
impl Send for JidParseError
impl Sync for JidParseError
impl Unpin for JidParseError
impl UnwindSafe for JidParseError
Blanket Implementations
Mutably borrows from an owned value. Read more