pub struct AcceptedAlert(/* private fields */);展开描述
Represents 一个 TLS alert resulting 从 handling the client’s ClientHello message.
When Acceptor::accept() returns an error, it yields an AcceptedAlert such that the
application can communicate failure 到 the client via AcceptedAlert::write()。
实现§
Trait 实现§
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
从输入类型转换为此类型。
自动 Trait 实现§
impl Freeze for AcceptedAlert
impl RefUnwindSafe for AcceptedAlert
impl Send for AcceptedAlert
impl Sync for AcceptedAlert
impl Unpin for AcceptedAlert
impl UnsafeUnpin for AcceptedAlert
impl UnwindSafe for AcceptedAlert
Blanket 实现§
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 从 an owned value. 更多信息