pub enum CliArchetype {
Basic,
Gateway,
Consumer,
Producer,
Bff,
Scheduled,
WebsocketGateway,
SagaOrchestrator,
LegacyAdapter,
}Expand description
CLI archetype selection (maps to config::Archetype)
Variants§
Basic
Basic Clean Architecture project (default)
Gateway
API Gateway service with gRPC, resilience, and caching
Consumer
Event consumer service with Kafka, idempotency, and DLQ
Producer
Event producer service with outbox pattern and transactional messaging
Bff
Backend for Frontend API aggregation service
Scheduled
Scheduled jobs service with cron-based task execution
WebsocketGateway
WebSocket gateway for real-time bidirectional communication
SagaOrchestrator
Saga orchestrator for distributed transaction coordination
LegacyAdapter
Legacy system adapter (anti-corruption layer)
Trait Implementations§
Source§impl Clone for CliArchetype
impl Clone for CliArchetype
Source§fn clone(&self) -> CliArchetype
fn clone(&self) -> CliArchetype
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CliArchetype
impl Debug for CliArchetype
Source§impl Default for CliArchetype
impl Default for CliArchetype
Source§fn default() -> CliArchetype
fn default() -> CliArchetype
Returns the “default value” for a type. Read more
Source§impl From<CliArchetype> for Archetype
impl From<CliArchetype> for Archetype
Source§fn from(cli: CliArchetype) -> Self
fn from(cli: CliArchetype) -> Self
Converts to this type from the input type.
Source§impl ValueEnum for CliArchetype
impl ValueEnum for CliArchetype
impl Copy for CliArchetype
Auto Trait Implementations§
impl Freeze for CliArchetype
impl RefUnwindSafe for CliArchetype
impl Send for CliArchetype
impl Sync for CliArchetype
impl Unpin for CliArchetype
impl UnwindSafe for CliArchetype
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)