pub struct AcceptedAlert(/* private fields */);Available on crate feature
std only.Expand description
Represents a TLS alert resulting from handling the client’s ClientHello message.
When Acceptor::accept() returns an error, it yields an AcceptedAlert such that the
application can communicate failure to the client via AcceptedAlert::write().
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AcceptedAlert
impl RefUnwindSafe for AcceptedAlert
impl Send for AcceptedAlert
impl Sync for AcceptedAlert
impl Unpin for AcceptedAlert
impl UnwindSafe for AcceptedAlert
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