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§
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes