pub struct EffectRecord {
pub id: EffectId,
pub arg: i64,
pub outcome: i64,
pub bytes: Option<Vec<u8>>,
pub request: Option<Vec<u8>>,
pub module: Option<Vec<u8>>,
}Expand description
One persisted journal outcome and its request identity.
Fields§
§id: EffectIdThe effect identity.
arg: i64The integer request metadata.
outcome: i64Integer outcome; byte effects use bytes and leave this zero.
bytes: Option<Vec<u8>>Byte outcome for byte effects; integer effects leave this unset.
request: Option<Vec<u8>>Exact general capability request identity (versioned bytes).
module: Option<Vec<u8>>Exact request bytes for a named module effect (legacy compatible).
Trait Implementations§
Source§impl Clone for EffectRecord
impl Clone for EffectRecord
Source§impl Debug for EffectRecord
impl Debug for EffectRecord
impl Eq for EffectRecord
Source§impl PartialEq for EffectRecord
impl PartialEq for EffectRecord
impl StructuralPartialEq for EffectRecord
Auto Trait Implementations§
impl Freeze for EffectRecord
impl RefUnwindSafe for EffectRecord
impl Send for EffectRecord
impl Sync for EffectRecord
impl Unpin for EffectRecord
impl UnsafeUnpin for EffectRecord
impl UnwindSafe for EffectRecord
Blanket Implementations§
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