pub enum OpenEvent {
RecordSent {
position: ParticipantPosition,
record_hash: RecordHash,
},
RecordSaved {
position: ParticipantPosition,
record_hash: RecordHash,
record: Record,
},
FixedPoint,
Closed {
reason: CloseReason,
},
}Expand description
An open-stream event. RecordSaved carries the admitted owned record;
bounded outcomes project it to the hash-only InterlaceEvent.
Variants§
Trait Implementations§
impl Eq for OpenEvent
Source§impl From<OpenEvent> for InterlaceEvent
impl From<OpenEvent> for InterlaceEvent
Source§fn from(event: OpenEvent) -> InterlaceEvent
fn from(event: OpenEvent) -> InterlaceEvent
Converts to this type from the input type.
impl StructuralPartialEq for OpenEvent
Auto Trait Implementations§
impl Freeze for OpenEvent
impl RefUnwindSafe for OpenEvent
impl Send for OpenEvent
impl Sync for OpenEvent
impl Unpin for OpenEvent
impl UnsafeUnpin for OpenEvent
impl UnwindSafe for OpenEvent
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