pub enum WikiContinuation {
Resume {
session_id: String,
},
Restore {
wiki_id: String,
},
Import {
harness: HarnessKind,
native_session_id: String,
},
}Expand description
What continuing one indexed session means.
An agent that found a session with SessionWiki should not have to know
whose session it was, so the branch lives here and mj resume --wiki takes
it on the agent’s behalf.
Variants§
Resume
A Mjolnir session this daemon still has a record of: resume it.
Restore
A Mjolnir session whose record the archive job destroyed: start a new session seeded with a compacted hand-off.
Import
Another tool’s session: import it, then resume what the import made.
Trait Implementations§
Source§impl Clone for WikiContinuation
impl Clone for WikiContinuation
Source§impl Debug for WikiContinuation
impl Debug for WikiContinuation
impl Eq for WikiContinuation
Source§impl PartialEq for WikiContinuation
impl PartialEq for WikiContinuation
impl StructuralPartialEq for WikiContinuation
Auto Trait Implementations§
impl Freeze for WikiContinuation
impl RefUnwindSafe for WikiContinuation
impl Send for WikiContinuation
impl Sync for WikiContinuation
impl Unpin for WikiContinuation
impl UnsafeUnpin for WikiContinuation
impl UnwindSafe for WikiContinuation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.