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
Source§fn clone(&self) -> ReserveOutcome
fn clone(&self) -> ReserveOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReserveOutcome
impl RefUnwindSafe for ReserveOutcome
impl Send for ReserveOutcome
impl Sync for ReserveOutcome
impl Unpin for ReserveOutcome
impl UnsafeUnpin for ReserveOutcome
impl UnwindSafe 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