pub enum SessionEvent {
Current(Vec<u8>),
Program(u16, Vec<u8>),
Progress {
done: usize,
total: usize,
},
Done,
Failed(OpError),
}Expand description
Results of SessionOps, in order.
Variants§
Current(Vec<u8>)
The edit buffer’s program, for SessionOp::ReadCurrent.
Program(u16, Vec<u8>)
A slot’s program, for SessionOp::ReadPrograms.
Progress
Steps of the op that are done, out of all its steps.
Done
The op ended, and every step succeeded.
Failed(OpError)
The op ended at a failed step; the steps after it did not run.
Trait Implementations§
Source§impl Clone for SessionEvent
impl Clone for SessionEvent
Source§impl Debug for SessionEvent
impl Debug for SessionEvent
impl Eq for SessionEvent
Source§impl PartialEq for SessionEvent
impl PartialEq for SessionEvent
impl StructuralPartialEq for SessionEvent
Auto Trait Implementations§
impl Freeze for SessionEvent
impl RefUnwindSafe for SessionEvent
impl Send for SessionEvent
impl Sync for SessionEvent
impl Unpin for SessionEvent
impl UnsafeUnpin for SessionEvent
impl UnwindSafe for SessionEvent
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