Struct domain::base::opt::LongOptData
source · pub struct LongOptData(/* private fields */);
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)>
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 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 Freeze for LongOptData
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.