pub enum MigrateTarget {
KuzuMemory,
KuzuData,
}Expand description
What the user is migrating from.
Why: model the migration source as an enum (validated at parse time by
clap) so additional sources can be added later without changing the
CLI surface.
What: two variants today — kuzu-memory (config migration) and
kuzu-data (deprecated alias for import kuzu, #277).
Test: cargo run -p trusty-memory -- migrate bogus → clap rejects with
a usage hint.
Variants§
KuzuMemory
Migrate from kuzu-memory (rewrites Claude mcpServers entries).
KuzuData
Deprecated alias for import kuzu --from <path> (#277).
Trait Implementations§
Source§impl Clone for MigrateTarget
impl Clone for MigrateTarget
Source§impl Debug for MigrateTarget
impl Debug for MigrateTarget
Source§impl ValueEnum for MigrateTarget
impl ValueEnum for MigrateTarget
Auto Trait Implementations§
impl Freeze for MigrateTarget
impl RefUnwindSafe for MigrateTarget
impl Send for MigrateTarget
impl Sync for MigrateTarget
impl Unpin for MigrateTarget
impl UnsafeUnpin for MigrateTarget
impl UnwindSafe for MigrateTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more