Enum RDataEncoding
pub enum RDataEncoding {
StandardRecord,
Canonical,
Other,
}Expand description
Determines how names inside RDATA are encoded, depending on the record type and whether DNSSEC canonical form is used.
Variants§
StandardRecord
Applicable to standard record types defined in RFC 1035 section 3.3.
Names in the RDATA may be compressed, since these record types are well-known. When encoding in DNSSEC canonical form, compression is not used, and names are transformed to lowercase. Note that all standard types that contain names in the RDATA are also on the list in RFC 4034 section 6.2.
Canonical
Applicable to record types that were defined after RFC 1035, for which the DNSSEC canonical form of the RDATA has names transformed to lowercase. Compression is never used.
This applies to the list of record types defined in RFC 4034 section 6.2 and modified by RFC 6840, section 5.1.
Other
Applicable to record types for which names in the RDATA are never compressed and never transformed to lowercase.
All newly defined record types must have this behavior, per RFC 3597 section 4 and section 7.
Trait Implementations§
§impl Clone for RDataEncoding
impl Clone for RDataEncoding
§fn clone(&self) -> RDataEncoding
fn clone(&self) -> RDataEncoding
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for RDataEncoding
Auto Trait Implementations§
impl Freeze for RDataEncoding
impl RefUnwindSafe for RDataEncoding
impl Send for RDataEncoding
impl Sync for RDataEncoding
impl Unpin for RDataEncoding
impl UnsafeUnpin for RDataEncoding
impl UnwindSafe for RDataEncoding
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a rama_grpc::Request§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§fn and<P, B, E>(self, other: P) -> And<T, P>
fn and<P, B, E>(self, other: P) -> And<T, P>
Policy that returns Action::Follow only if self and other return
Action::Follow. Read more