pub enum RCode {
NoError,
FormatError,
ServerFailure,
NameError,
NotImplemented,
Refused,
Other(u8),
}
Expand description
Represents the response code of a message
Variants§
NoError
No error condition.
FormatError
The server was unable to interpret the query.
ServerFailure
The name server was unable to process the query due to a failure of the name server.
NameError
Name referenced in query does not exist.
NotImplemented
Requested query kind is not supported by name server.
Refused
The name server refuses to perform the specified operation for policy reasons.
Other(u8)
Unknown response code.
Implementations§
Trait Implementations§
impl Copy for RCode
impl Eq for RCode
impl StructuralPartialEq for RCode
Auto Trait Implementations§
impl Freeze for RCode
impl RefUnwindSafe for RCode
impl Send for RCode
impl Sync for RCode
impl Unpin for RCode
impl UnwindSafe for RCode
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