pub struct SimpleCopyInDataExternalTransitionMessage(/* private fields */);Expand description
Validated wire message for one legal SimpleCopyIn transition.
Implementations§
Source§impl SimpleCopyInDataExternalTransitionMessage
impl SimpleCopyInDataExternalTransitionMessage
Sourcepub const fn as_wire(&self) -> &FrontendMessage
pub const fn as_wire(&self) -> &FrontendMessage
Borrows the validated wire message.
Sourcepub fn into_wire(self) -> FrontendMessage
pub fn into_wire(self) -> FrontendMessage
Returns the validated wire message.
Sourcepub fn try_map_wire(
self,
map: impl FnOnce(FrontendMessage) -> FrontendMessage,
) -> Result<Self, FrontendMessage>
pub fn try_map_wire( self, map: impl FnOnce(FrontendMessage) -> FrontendMessage, ) -> Result<Self, FrontendMessage>
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 SimpleCopyInDataExternalTransitionMessage
impl RefUnwindSafe for SimpleCopyInDataExternalTransitionMessage
impl Send for SimpleCopyInDataExternalTransitionMessage
impl Sync for SimpleCopyInDataExternalTransitionMessage
impl Unpin for SimpleCopyInDataExternalTransitionMessage
impl UnsafeUnpin for SimpleCopyInDataExternalTransitionMessage
impl UnwindSafe for SimpleCopyInDataExternalTransitionMessage
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