Enum edge_captive::DnsError
source · pub enum DnsError {
ShortBuf,
InvalidMessage,
}Variants§
Trait Implementations§
source§impl<E> From<DnsError> for DnsIoError<E>
impl<E> From<DnsError> for DnsIoError<E>
source§impl From<ParseError> for DnsError
impl From<ParseError> for DnsError
source§fn from(_: ParseError) -> Self
fn from(_: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ShortMessage> for DnsError
impl From<ShortMessage> for DnsError
source§fn from(_: ShortMessage) -> Self
fn from(_: ShortMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DnsError
impl Send for DnsError
impl Sync for DnsError
impl Unpin for DnsError
impl UnwindSafe for DnsError
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) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.