pub struct RegisteredNameError;Expand description
An error representing an invalid registered name.
This implies that the registered name contained an invalid host character or had an invalid percent encoding. This error is not possible from parsing an authority. It can only be returned from directly parsing a registered name.
Trait Implementations§
Source§impl Clone for RegisteredNameError
impl Clone for RegisteredNameError
Source§fn clone(&self) -> RegisteredNameError
fn clone(&self) -> RegisteredNameError
Returns a copy 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 RegisteredNameError
impl Debug for RegisteredNameError
Source§impl Display for RegisteredNameError
impl Display for RegisteredNameError
Source§impl Error for RegisteredNameError
impl Error for RegisteredNameError
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 Hash for RegisteredNameError
impl Hash for RegisteredNameError
Source§impl PartialEq for RegisteredNameError
impl PartialEq for RegisteredNameError
impl Copy for RegisteredNameError
impl Eq for RegisteredNameError
impl StructuralPartialEq for RegisteredNameError
Auto Trait Implementations§
impl Freeze for RegisteredNameError
impl RefUnwindSafe for RegisteredNameError
impl Send for RegisteredNameError
impl Sync for RegisteredNameError
impl Unpin for RegisteredNameError
impl UnwindSafe for RegisteredNameError
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