pub struct TrustReply(/* private fields */);Expand description
Answers a server trust question. Dropping it unanswered keeps the platform’s verdict.
Implementations§
Source§impl TrustReply
impl TrustReply
Sourcepub fn reject(self)
pub fn reject(self)
Refuse the server; the request fails with HttpError::Tls.
Sourcepub fn default_handling(self)
pub fn default_handling(self)
Keep the platform’s verdict.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TrustReply
impl !UnwindSafe for TrustReply
impl Forget for TrustReply
impl Freeze for TrustReply
impl Move for TrustReply
impl Send for TrustReply
impl Sync for TrustReply
impl Unpin for TrustReply
impl UnsafeUnpin for TrustReply
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