pub struct AcceptedAlert(/* private fields */);Available on crate feature
net 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>) -> AcceptedAlert
fn from(conn: ConnectionCommon<ServerConnectionData>) -> AcceptedAlert
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request