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
sourceimpl Clone for QueryAnswerCertificate
impl Clone for QueryAnswerCertificate
sourcefn clone(&self) -> QueryAnswerCertificate
fn clone(&self) -> QueryAnswerCertificate
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for QueryAnswerCertificate
impl Debug for QueryAnswerCertificate
sourceimpl<'de> Deserialize<'de> for QueryAnswerCertificate
impl<'de> Deserialize<'de> for QueryAnswerCertificate
sourcefn 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
sourceimpl PartialEq<QueryAnswerCertificate> for QueryAnswerCertificate
impl PartialEq<QueryAnswerCertificate> for QueryAnswerCertificate
sourcefn eq(&self, other: &QueryAnswerCertificate) -> bool
fn eq(&self, other: &QueryAnswerCertificate) -> bool
sourceimpl Serialize for QueryAnswerCertificate
impl Serialize for QueryAnswerCertificate
impl Eq for QueryAnswerCertificate
impl StructuralEq for QueryAnswerCertificate
impl StructuralPartialEq for QueryAnswerCertificate
Auto Trait Implementations
impl RefUnwindSafe for QueryAnswerCertificate
impl Send for QueryAnswerCertificate
impl Sync for QueryAnswerCertificate
impl Unpin for QueryAnswerCertificate
impl UnwindSafe for QueryAnswerCertificate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more