pub enum FrontendAction {
Forward {
id: OperationId,
message: FrontendMessage,
},
Discard {
id: OperationId,
},
Backpressure(FrontendMessage),
}Expand description
Application action for one successfully projected frontend message.
Variants§
Forward
Forward the owned message upstream.
Fields
§
id: OperationIdAccepted operation identity.
§
message: FrontendMessageOriginal, unretained frontend message.
Discard
The operation is locally handled and the message can be discarded.
Fields
§
id: OperationIdAccepted operation identity.
Backpressure(FrontendMessage)
Capacity is exhausted; pause reads and retry this unchanged message.
Trait Implementations§
Source§impl Debug for FrontendAction
impl Debug for FrontendAction
impl Eq for FrontendAction
Source§impl PartialEq for FrontendAction
impl PartialEq for FrontendAction
impl StructuralPartialEq for FrontendAction
Auto Trait Implementations§
impl !Freeze for FrontendAction
impl RefUnwindSafe for FrontendAction
impl Send for FrontendAction
impl Sync for FrontendAction
impl Unpin for FrontendAction
impl UnsafeUnpin for FrontendAction
impl UnwindSafe for FrontendAction
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