pub enum ConnectionInfoParseError {
UrlParse(ParseError),
NotEnoughSegments,
NoToken,
}
Expand description
Errors which can occur while ConnectionInfo
parsing from the str
.
Variants§
UrlParse(ParseError)
Url::parse
returned error.
NotEnoughSegments
Provided URL doesn’t have important segments.
NoToken
Provided URL doesn’t contain auth token.
Trait Implementations§
Source§impl Caused for ConnectionInfoParseError
impl Caused for ConnectionInfoParseError
Source§impl Clone for ConnectionInfoParseError
impl Clone for ConnectionInfoParseError
Source§fn clone(&self) -> ConnectionInfoParseError
fn clone(&self) -> ConnectionInfoParseError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConnectionInfoParseError
impl Debug for ConnectionInfoParseError
Source§impl Display for ConnectionInfoParseError
impl Display for ConnectionInfoParseError
Source§impl From<ConnectionInfoParseError> for RoomJoinError
impl From<ConnectionInfoParseError> for RoomJoinError
Source§fn from(value: ConnectionInfoParseError) -> Self
fn from(value: ConnectionInfoParseError) -> Self
Converts to this type from the input type.
impl Copy for ConnectionInfoParseError
Auto Trait Implementations§
impl Freeze for ConnectionInfoParseError
impl RefUnwindSafe for ConnectionInfoParseError
impl Send for ConnectionInfoParseError
impl Sync for ConnectionInfoParseError
impl Unpin for ConnectionInfoParseError
impl UnwindSafe for ConnectionInfoParseError
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