pub struct PreStartupSslRequestInternalTransitionMessage(/* private fields */);Expand description
Validated wire message for one legal PreStartup transition.
Implementations§
Source§impl PreStartupSslRequestInternalTransitionMessage
impl PreStartupSslRequestInternalTransitionMessage
Sourcepub const fn as_wire(&self) -> &PreStartupMessage
pub const fn as_wire(&self) -> &PreStartupMessage
Borrows the validated wire message.
Sourcepub fn into_wire(self) -> PreStartupMessage
pub fn into_wire(self) -> PreStartupMessage
Returns the validated wire message.
Sourcepub fn try_map_wire(
self,
map: impl FnOnce(PreStartupMessage) -> PreStartupMessage,
) -> Result<Self, PreStartupMessage>
pub fn try_map_wire( self, map: impl FnOnce(PreStartupMessage) -> PreStartupMessage, ) -> Result<Self, PreStartupMessage>
Mutates or replaces the wire value while preserving this transition variant.
§Errors
Returns the replacement when it no longer denotes this phase transition.
Auto Trait Implementations§
impl !Freeze for PreStartupSslRequestInternalTransitionMessage
impl RefUnwindSafe for PreStartupSslRequestInternalTransitionMessage
impl Send for PreStartupSslRequestInternalTransitionMessage
impl Sync for PreStartupSslRequestInternalTransitionMessage
impl Unpin for PreStartupSslRequestInternalTransitionMessage
impl UnsafeUnpin for PreStartupSslRequestInternalTransitionMessage
impl UnwindSafe for PreStartupSslRequestInternalTransitionMessage
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