Struct domain::base::charstr::CharStrError
source · pub struct CharStrError;
Expand description
A byte sequence does not represent a valid character string.
This can only mean that the sequence is longer than 255 bytes.
Trait Implementations§
source§impl Clone for CharStrError
impl Clone for CharStrError
source§fn clone(&self) -> CharStrError
fn clone(&self) -> CharStrError
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 CharStrError
impl Debug for CharStrError
source§impl Display for CharStrError
impl Display for CharStrError
source§impl Error for CharStrError
impl Error for CharStrError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CharStrError> for CharStrError
impl PartialEq<CharStrError> for CharStrError
source§fn eq(&self, other: &CharStrError) -> bool
fn eq(&self, other: &CharStrError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CharStrError
impl Eq for CharStrError
impl StructuralEq for CharStrError
impl StructuralPartialEq for CharStrError
Auto Trait Implementations§
impl RefUnwindSafe for CharStrError
impl Send for CharStrError
impl Sync for CharStrError
impl Unpin for CharStrError
impl UnwindSafe for CharStrError
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
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Targetwhere
Self::Error: Into<Infallible>,
fn octets_into(self) -> Targetwhere Self::Error: Into<Infallible>,
Performs an infallible conversion.