pub enum ReserveOutcome {
Reserved(RunnerReservation),
AlreadyRunning(String),
}Expand description
Outcome of the shared reservation core.
Variants§
Reserved(RunnerReservation)
A fresh runner was reserved (any stale runner was replaced).
AlreadyRunning(String)
A Running runner already exists for this session; carries its run_id
so the caller can correlate subsequent SSE/WS events.
Trait Implementations§
Source§impl Clone for ReserveOutcome
impl Clone for ReserveOutcome
Auto Trait Implementations§
impl !RefUnwindSafe for ReserveOutcome
impl !UnwindSafe for ReserveOutcome
impl Freeze for ReserveOutcome
impl Send for ReserveOutcome
impl Sync for ReserveOutcome
impl Unpin for ReserveOutcome
impl UnsafeUnpin for ReserveOutcome
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