pub enum ActrUriError {
InvalidScheme(String),
MissingAuthority,
InvalidAuthorityFormat(String),
MissingVersion,
InvalidRealmId(String),
ParseError(String),
}Expand description
Actor-RTC URI 解析错误
Variants§
InvalidScheme(String)
MissingAuthority
InvalidAuthorityFormat(String)
MissingVersion
InvalidRealmId(String)
ParseError(String)
Trait Implementations§
Source§impl Debug for ActrUriError
impl Debug for ActrUriError
Source§impl Display for ActrUriError
impl Display for ActrUriError
Source§impl Error for ActrUriError
impl Error for ActrUriError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ActrUriError> for ProtocolError
impl From<ActrUriError> for ProtocolError
Source§fn from(source: ActrUriError) -> Self
fn from(source: ActrUriError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ActrUriError
impl RefUnwindSafe for ActrUriError
impl Send for ActrUriError
impl Sync for ActrUriError
impl Unpin for ActrUriError
impl UnwindSafe for ActrUriError
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