pub enum NewKind {
Node,
Operator,
OperatorDylib,
Graph,
}Expand description
Which template astrs new scaffolds.
Variants§
Node
A standalone node crate (a binary that runs as its own process).
Operator
A runtime-hosted operator crate (a library, compiled into a
runtime binary via register_operator!).
OperatorDylib
A dylib-hosted operator crate (a cdylib, dlopened at spawn time
by astrs-runtime’s dylib-operators feature — blueprint §9.3,
§22).
An explicit #[value(name = ...)] rather than the enum’s own
rename_all = "lower": that default would lowercase every letter
with no word separator (operatordylib), while every multi-word
value elsewhere in this CLI’s surface (astrs migrate from-dora,
this same command’s own subcommand name below) is kebab-case.
Graph
A starter multi-node graph manifest, no Rust project.
Trait Implementations§
impl Copy for NewKind
impl Eq for NewKind
impl StructuralPartialEq for NewKind
Auto Trait Implementations§
impl Freeze for NewKind
impl RefUnwindSafe for NewKind
impl Send for NewKind
impl Sync for NewKind
impl Unpin for NewKind
impl UnsafeUnpin for NewKind
impl UnwindSafe for NewKind
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§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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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