Struct rustls::server::AcceptedAlert
source · pub struct AcceptedAlert(/* private fields */);
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§
source§impl Debug for AcceptedAlert
impl Debug for AcceptedAlert
source§impl From<ConnectionCommon<ServerConnectionData>> for AcceptedAlert
impl From<ConnectionCommon<ServerConnectionData>> for AcceptedAlert
source§fn from(conn: ConnectionCommon<ServerConnectionData>) -> Self
fn from(conn: ConnectionCommon<ServerConnectionData>) -> Self
Converts to this type from the input type.
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