pub struct Recorded {
pub position: Position,
pub stream: String,
pub event: Current,
}Expand description
An event read back from the log, with where it sits.
The event has already been through the upcaster chain, so a reader sees
the current shape whatever version the bytes were written under.
Fields§
§position: Position§stream: String§event: CurrentImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Recorded
impl RefUnwindSafe for Recorded
impl Send for Recorded
impl Sync for Recorded
impl Unpin for Recorded
impl UnsafeUnpin for Recorded
impl UnwindSafe for Recorded
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