pub struct HostnameTooLong;Expand description
The hostname does not fit. The limit is 63 bytes.
Returned by Stack::set_hostname.
Trait Implementations§
Source§impl Clone for HostnameTooLong
impl Clone for HostnameTooLong
Source§fn clone(&self) -> HostnameTooLong
fn clone(&self) -> HostnameTooLong
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HostnameTooLong
Source§impl Debug for HostnameTooLong
impl Debug for HostnameTooLong
Source§impl Display for HostnameTooLong
Available on crate feature hostname only.
impl Display for HostnameTooLong
Available on crate feature
hostname only.impl Eq for HostnameTooLong
Source§impl Error for HostnameTooLong
Available on crate feature hostname only.
impl Error for HostnameTooLong
Available on crate feature
hostname only.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 PartialEq for HostnameTooLong
impl PartialEq for HostnameTooLong
impl StructuralPartialEq for HostnameTooLong
Auto Trait Implementations§
impl Freeze for HostnameTooLong
impl RefUnwindSafe for HostnameTooLong
impl Send for HostnameTooLong
impl Sync for HostnameTooLong
impl Unpin for HostnameTooLong
impl UnsafeUnpin for HostnameTooLong
impl UnwindSafe for HostnameTooLong
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