Enum trust_dns_proto::rr::rdata::caa::Value [−][src]
Potential values.
These are based off the Tag field:
Issue and IssueWild => Issuer,
Iodef => Url,
Unknown => Unknown,
Variants
Issuer(Option<Name>, Vec<KeyValue>)Issuer authorized to issue certs for this zone, and any associated parameters
Url(Url)Url to which to send CA errors
Unknown(Vec<u8>)Unrecognized tag and value by TRust-DNS
Methods
impl Value[src]
impl Valuepub fn is_issuer(&self) -> bool[src]
pub fn is_issuer(&self) -> booltrue if this is an Issuer
pub fn is_url(&self) -> bool[src]
pub fn is_url(&self) -> booltrue if this is a Url
pub fn is_unknown(&self) -> bool[src]
pub fn is_unknown(&self) -> booltrue if this is an Unknown
Trait Implementations
impl Debug for Value[src]
impl Debug for Valuefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Value[src]
impl PartialEq for Valuefn eq(&self, other: &Value) -> bool[src]
fn eq(&self, other: &Value) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Value) -> bool[src]
fn ne(&self, other: &Value) -> boolThis method tests for !=.
impl Eq for Value[src]
impl Eq for Valueimpl Hash for Value[src]
impl Hash for Valuefn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for Value[src]
impl Clone for Value