pub struct MessageResult {
pub event: MessageEvent,
pub context: Value,
}
Expand description
Result of a message being processed by the consensus layer combined with the context for the result handler.
Fields§
§event: MessageEvent
§context: Value
Trait Implementations§
Source§impl Clone for MessageResult
impl Clone for MessageResult
Source§fn clone(&self) -> MessageResult
fn clone(&self) -> MessageResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MessageResult
impl RefUnwindSafe for MessageResult
impl Send for MessageResult
impl Sync for MessageResult
impl Unpin for MessageResult
impl UnwindSafe for MessageResult
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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