Struct domain::base::opt::LongOptData
source · pub struct LongOptData(_);
Expand description
The octets sequence to be used for option data is too long.
Implementations§
Trait Implementations§
source§impl Clone for LongOptData
impl Clone for LongOptData
source§fn clone(&self) -> LongOptData
fn clone(&self) -> LongOptData
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 LongOptData
impl Debug for LongOptData
source§impl Display for LongOptData
impl Display for LongOptData
source§impl Error for LongOptData
impl Error for LongOptData
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 From<LongOptData> for BuildDataError
impl From<LongOptData> for BuildDataError
source§fn from(_: LongOptData) -> Self
fn from(_: LongOptData) -> Self
Converts to this type from the input type.
source§impl From<LongOptData> for ParseError
impl From<LongOptData> for ParseError
source§fn from(src: LongOptData) -> Self
fn from(src: LongOptData) -> Self
Converts to this type from the input type.
impl Copy for LongOptData
Auto Trait Implementations§
impl RefUnwindSafe for LongOptData
impl Send for LongOptData
impl Sync for LongOptData
impl Unpin for LongOptData
impl UnwindSafe for LongOptData
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.