pub struct InvalidControlString { /* private fields */ }Expand description
The location of a non-printable-ASCII byte rejected from a control-string payload.
Implementations§
Source§impl InvalidControlString
impl InvalidControlString
pub const fn byte_offset(self) -> usize
Trait Implementations§
Source§impl Clone for InvalidControlString
impl Clone for InvalidControlString
Source§fn clone(&self) -> InvalidControlString
fn clone(&self) -> InvalidControlString
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 moreSource§impl Debug for InvalidControlString
impl Debug for InvalidControlString
Source§impl Display for InvalidControlString
impl Display for InvalidControlString
Source§impl Error for InvalidControlString
impl Error for InvalidControlString
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 InvalidControlString
impl Hash for InvalidControlString
Source§impl PartialEq for InvalidControlString
impl PartialEq for InvalidControlString
Source§fn eq(&self, other: &InvalidControlString) -> bool
fn eq(&self, other: &InvalidControlString) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for InvalidControlString
impl Eq for InvalidControlString
impl StructuralPartialEq for InvalidControlString
Auto Trait Implementations§
impl Freeze for InvalidControlString
impl RefUnwindSafe for InvalidControlString
impl Send for InvalidControlString
impl Sync for InvalidControlString
impl Unpin for InvalidControlString
impl UnsafeUnpin for InvalidControlString
impl UnwindSafe for InvalidControlString
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