[−][src]Enum gio::ResolverRecordType
The type of record that ResolverExt::lookup_records
or
ResolverExt::lookup_records_async
should retrieve. The records are returned
as lists of glib::Variant
tuples. Each record type has different values in
the variant tuples returned.
ResolverRecordType::Srv
records are returned as variants with the signature
(qqqs)
, containing a guint16
with the priority, a guint16
with the
weight, a guint16
with the port, and a string of the hostname.
ResolverRecordType::Mx
records are returned as variants with the signature
(qs)
, representing a guint16
with the preference, and a string containing
the mail exchanger hostname.
ResolverRecordType::Txt
records are returned as variants with the signature
(as)
, representing an array of the strings in the text record. Note: Most TXT
records only contain a single string, but
RFC 1035 does allow a
record to contain multiple strings. The RFC which defines the interpretation
of a specific TXT record will likely require concatenation of multiple
strings if they are present, as with
RFC 7208.
ResolverRecordType::Soa
records are returned as variants with the signature
(ssuuuuu)
, representing a string containing the primary name server, a
string containing the administrator, the serial as a guint32
, the refresh
interval as a guint32
, the retry interval as a guint32
, the expire timeout
as a guint32
, and the TTL as a guint32
.
ResolverRecordType::Ns
records are returned as variants with the signature
(s)
, representing a string of the hostname of the name server.
Variants
Trait Implementations
impl Clone for ResolverRecordType
[src]
fn clone(&self) -> ResolverRecordType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ResolverRecordType
[src]
impl Debug for ResolverRecordType
[src]
impl Display for ResolverRecordType
[src]
impl Eq for ResolverRecordType
[src]
impl<'a> FromValue<'a> for ResolverRecordType
[src]
unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for ResolverRecordType
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for ResolverRecordType
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ResolverRecordType
[src]
fn cmp(&self, other: &ResolverRecordType) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ResolverRecordType> for ResolverRecordType
[src]
fn eq(&self, other: &ResolverRecordType) -> bool
[src]
fn ne(&self, other: &ResolverRecordType) -> bool
[src]
impl PartialOrd<ResolverRecordType> for ResolverRecordType
[src]
fn partial_cmp(&self, other: &ResolverRecordType) -> Option<Ordering>
[src]
fn lt(&self, other: &ResolverRecordType) -> bool
[src]
fn le(&self, other: &ResolverRecordType) -> bool
[src]
fn gt(&self, other: &ResolverRecordType) -> bool
[src]
fn ge(&self, other: &ResolverRecordType) -> bool
[src]
impl SetValue for ResolverRecordType
[src]
impl StaticType for ResolverRecordType
[src]
fn static_type() -> Type
[src]
impl StructuralEq for ResolverRecordType
[src]
impl StructuralPartialEq for ResolverRecordType
[src]
Auto Trait Implementations
impl RefUnwindSafe for ResolverRecordType
impl Send for ResolverRecordType
impl Sync for ResolverRecordType
impl Unpin for ResolverRecordType
impl UnwindSafe for ResolverRecordType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,