pub struct TlsAlertReceivedPayload {
pub alert_id: Option<u8>,
pub alert_message: Option<String>,
}Expand description
The payload of HttpError::TlsAlertReceived, as WASI’s TLS-alert-received-payload.
Fields§
§alert_id: Option<u8>The alert’s number, when the peer gave one.
alert_message: Option<String>The alert’s description, when the peer gave one.
Trait Implementations§
Source§impl Clone for TlsAlertReceivedPayload
impl Clone for TlsAlertReceivedPayload
Source§impl Debug for TlsAlertReceivedPayload
impl Debug for TlsAlertReceivedPayload
impl Eq for TlsAlertReceivedPayload
Source§impl PartialEq for TlsAlertReceivedPayload
impl PartialEq for TlsAlertReceivedPayload
impl StructuralPartialEq for TlsAlertReceivedPayload
Auto Trait Implementations§
impl Forget for TlsAlertReceivedPayload
impl Freeze for TlsAlertReceivedPayload
impl Move for TlsAlertReceivedPayload
impl RefUnwindSafe for TlsAlertReceivedPayload
impl Send for TlsAlertReceivedPayloadwhere
RawVecInner: Send,
impl Sync for TlsAlertReceivedPayloadwhere
RawVecInner: Sync,
impl Unpin for TlsAlertReceivedPayload
impl UnsafeUnpin for TlsAlertReceivedPayload
impl UnwindSafe for TlsAlertReceivedPayloadwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.