pub enum QueryAnswerCertificate {
All(HashMap<SocketAddr, BTreeMap<String, Vec<u8>>>),
Domain(HashMap<SocketAddr, Option<(String, Vec<u8>)>>),
Fingerprint(Option<(String, Vec<String>)>),
}
Variants§
All(HashMap<SocketAddr, BTreeMap<String, Vec<u8>>>)
returns a list of domain -> fingerprint
Domain(HashMap<SocketAddr, Option<(String, Vec<u8>)>>)
returns a fingerprint
Fingerprint(Option<(String, Vec<String>)>)
returns the certificate
Trait Implementations§
source§impl Clone for QueryAnswerCertificate
impl Clone for QueryAnswerCertificate
source§fn clone(&self) -> QueryAnswerCertificate
fn clone(&self) -> QueryAnswerCertificate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QueryAnswerCertificate
impl Debug for QueryAnswerCertificate
source§impl<'de> Deserialize<'de> for QueryAnswerCertificate
impl<'de> Deserialize<'de> for QueryAnswerCertificate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more