pub enum SslDecisionInternalMessage {
Accept(SslDecisionAcceptInternalTransitionMessage),
Reject(SslDecisionRejectInternalTransitionMessage),
LegacyError(SslDecisionLegacyErrorInternalTransitionMessage),
}Expand description
Owned role-initiated messages legal in SslDecision.
Variants§
Accept(SslDecisionAcceptInternalTransitionMessage)
The Event::Accept transition.
Reject(SslDecisionRejectInternalTransitionMessage)
The Event::Reject transition.
LegacyError(SslDecisionLegacyErrorInternalTransitionMessage)
The Event::LegacyError transition.
Implementations§
Source§impl SslDecisionInternalMessage
impl SslDecisionInternalMessage
Sourcepub const fn as_wire(&self) -> &EncryptionReply
pub const fn as_wire(&self) -> &EncryptionReply
Borrows the underlying decoded wire message.
Sourcepub fn into_wire(self) -> EncryptionReply
pub fn into_wire(self) -> EncryptionReply
Returns the underlying decoded wire message.
Trait Implementations§
Source§impl AsRef<EncryptionReply> for SslDecisionInternalMessage
impl AsRef<EncryptionReply> for SslDecisionInternalMessage
Source§fn as_ref(&self) -> &EncryptionReply
fn as_ref(&self) -> &EncryptionReply
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl From<SslDecisionInternalMessage> for EncryptionReply
impl From<SslDecisionInternalMessage> for EncryptionReply
Source§fn from(message: SslDecisionInternalMessage) -> Self
fn from(message: SslDecisionInternalMessage) -> Self
Converts to this type from the input type.
Source§impl TryFrom<EncryptionReply> for SslDecisionInternalMessage
impl TryFrom<EncryptionReply> for SslDecisionInternalMessage
Source§type Error = EncryptionReply
type Error = EncryptionReply
The type returned in the event of a conversion error.
Source§fn try_from(message: EncryptionReply) -> Result<Self, EncryptionReply>
fn try_from(message: EncryptionReply) -> Result<Self, EncryptionReply>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SslDecisionInternalMessage
impl RefUnwindSafe for SslDecisionInternalMessage
impl Send for SslDecisionInternalMessage
impl Sync for SslDecisionInternalMessage
impl Unpin for SslDecisionInternalMessage
impl UnsafeUnpin for SslDecisionInternalMessage
impl UnwindSafe for SslDecisionInternalMessage
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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