pub struct ServerTrust {
pub host: String,
pub chain: Vec<Vec<u8>>,
pub system_trusted: bool,
pub system_error: Option<String>,
}Expand description
The certificate chain a server presented, with the platform’s own verdict on it.
Fields§
§host: String§chain: Vec<Vec<u8>>DER certificates, leaf first.
system_trusted: boolThe platform’s trust evaluation passed.
system_error: Option<String>Why it failed, when it did.
Implementations§
Trait Implementations§
Source§impl Clone for ServerTrust
impl Clone for ServerTrust
Source§impl Debug for ServerTrust
impl Debug for ServerTrust
impl Eq for ServerTrust
Source§impl PartialEq for ServerTrust
impl PartialEq for ServerTrust
impl StructuralPartialEq for ServerTrust
Auto Trait Implementations§
impl Forget for ServerTrust
impl Freeze for ServerTrust
impl Move for ServerTrust
impl RefUnwindSafe for ServerTrust
impl Send for ServerTrust
impl Sync for ServerTrust
impl Unpin for ServerTrust
impl UnsafeUnpin for ServerTrust
impl UnwindSafe for ServerTrust
Blanket Implementations§
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
Mutably borrows from an owned value. Read more