pub enum TxtAppendError {
LongRecordData,
ShortBuf,
}
Expand description
An error occurred while append to TXT record data.
Variants§
LongRecordData
Appending would have caused the record data to be too long.
ShortBuf
The octets builder did not have enough space.
Implementations§
Trait Implementations§
source§impl Clone for TxtAppendError
impl Clone for TxtAppendError
source§fn clone(&self) -> TxtAppendError
fn clone(&self) -> TxtAppendError
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 TxtAppendError
impl Debug for TxtAppendError
source§impl Display for TxtAppendError
impl Display for TxtAppendError
source§impl From<LongRecordData> for TxtAppendError
impl From<LongRecordData> for TxtAppendError
source§fn from(_: LongRecordData) -> TxtAppendError
fn from(_: LongRecordData) -> TxtAppendError
Converts to this type from the input type.
source§impl<T: Into<ShortBuf>> From<T> for TxtAppendError
impl<T: Into<ShortBuf>> From<T> for TxtAppendError
source§fn from(_: T) -> TxtAppendError
fn from(_: T) -> TxtAppendError
Converts to this type from the input type.
impl Copy for TxtAppendError
Auto Trait Implementations§
impl Freeze for TxtAppendError
impl RefUnwindSafe for TxtAppendError
impl Send for TxtAppendError
impl Sync for TxtAppendError
impl Unpin for TxtAppendError
impl UnwindSafe for TxtAppendError
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§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.