Struct StreamEnd
pub struct StreamEnd {
pub status: String,
pub closed: bool,
}Expand description
How a stream ended.
Fields§
§status: Stringok for a stream its writer closed or whose step succeeded; the
step’s status (failed, cancelled) when its step ended otherwise;
the run’s status (ok, failed, terminated, continued_as_new
…) when the run ended with the stream open.
closed: boolA StreamEnd record completed it (rather than the run’s end).
Trait Implementations§
impl Eq for StreamEnd
impl StructuralPartialEq for StreamEnd
Auto Trait Implementations§
impl Freeze for StreamEnd
impl RefUnwindSafe for StreamEnd
impl Send for StreamEnd
impl Sync for StreamEnd
impl Unpin for StreamEnd
impl UnsafeUnpin for StreamEnd
impl UnwindSafe for StreamEnd
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