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