Skip to main content

Commands

Enum Commands 

Source
pub enum Commands {
Show 36 variants AgentClientProtocol { target: AgentClientProtocolTarget, }, Chat, Ask { prompt: Option<String>, output_format: Option<AskOutputFormat>, }, Exec { json: bool, dry_run: bool, events: Option<PathBuf>, last_message_file: Option<PathBuf>, command: Option<ExecSubcommand>, prompt: Option<String>, }, Schedule { command: ScheduleSubcommand, }, BackgroundSubagent(BackgroundSubagentArgs), Review(ReviewArgs), Schema { command: SchemaCommands, }, ChatVerbose, Analyze { analysis_type: String, }, Trajectory { file: Option<PathBuf>, top: usize, }, Notify { title: Option<String>, message: String, }, Benchmark { task_file: Option<PathBuf>, task: Option<String>, output: Option<PathBuf>, max_tasks: Option<usize>, }, CreateProject { name: String, features: Vec<String>, }, Revert { turn: usize, partial: Option<String>, }, Snapshots, CleanupSnapshots { max: usize, }, Init { force: bool, }, InitProject { name: Option<String>, force: bool, migrate: bool, }, Config { output: Option<PathBuf>, global: bool, }, Login { provider: String, device_code: bool, }, Logout { provider: String, }, Auth { provider: Option<String>, }, ToolPolicy { command: ToolPolicyCommands, }, Mcp { command: McpCommands, }, A2a { command: A2aCommands, }, AppServer { listen: String, }, Models { command: ModelCommands, }, Pods { command: PodsCommands, }, Man { command: Option<String>, output: Option<PathBuf>, }, Skills(SkillsSubcommand), ListSkills {}, Dependencies(DependenciesSubcommand), Check { command: CheckSubcommand, }, Update { check: bool, force: bool, list: bool, limit: usize, pin: Option<String>, unpin: bool, channel: Option<String>, show_config: bool, }, AnthropicApi { port: u16, host: String, },
}
Expand description

Available commands

Variants§

§

AgentClientProtocol

Start Agent Client Protocol bridge for IDE integrations

Fields

§target: AgentClientProtocolTarget

Client to connect over ACP

§

Chat

Interactive AI coding assistant

§

Ask

Single prompt mode - prints model reply without tools

Send a single prompt to the model and print the response. No tools are invoked, no session is created, and the process exits after replying.

Examples: vtcode ask “what is a monad?” echo “summarize this” | vtcode ask vtcode ask –output-format json “explain ownership in Rust”

Fields

§prompt: Option<String>

Prompt to ask. Use - to force reading from stdin.

§output_format: Option<AskOutputFormat>

Format the response using a structured representation.

§

Exec

Headless execution mode

Run the agent in non-interactive mode. The agent executes the prompt, runs tools, and exits when done. Ideal for CI/CD, scripting, and agent-to-agent workflows.

Examples: vtcode exec “explain this codebase” vtcode exec –json “fix the failing test” vtcode exec –dry-run “refactor auth module” cat file.rs | vtcode exec “review this code” vtcode exec resume –last

Fields

§json: bool

Emit structured JSON events to stdout (one per line)

§dry_run: bool

Run in read-only dry-run mode (blocks mutating tool calls)

§events: Option<PathBuf>

Optional path to write the JSONL transcript

§last_message_file: Option<PathBuf>

Write the last agent message to this file

§command: Option<ExecSubcommand>

Optional exec subcommand

§prompt: Option<String>

Prompt to execute. Use - to force reading from stdin.

§

Schedule

Manage durable scheduled tasks

Create, list, and delete scheduled tasks that run on a recurring or one-shot basis. Tasks are stored persistently and survive restarts when paired with vtcode schedule install-service.

Examples: vtcode schedule create –name “daily-review” –cron “0 9 * * 1-5” –prompt “review recent changes” vtcode schedule create –name “reminder” –reminder “standup in 10 minutes” –at “09:50” vtcode schedule list vtcode schedule delete

Fields

§

BackgroundSubagent(BackgroundSubagentArgs)

Internal VT Code background subagent runner

§

Review(ReviewArgs)

Headless code review for the current diff, selected files, or a custom git target

§

Schema

Runtime schema introspection for built-in tools

Fields

§

ChatVerbose

Verbose interactive chat with debug output

§

Analyze

Analyze workspace (structure, security, performance)

Fields

§analysis_type: String

Type of analysis to perform

§

Trajectory

Pretty-print trajectory logs

Fields

§file: Option<PathBuf>

Optional path to trajectory JSONL file

§top: usize

Number of top entries to show

§

Notify

Send a VT Code notification using the built-in notification system

Fields

§title: Option<String>

Optional notification title

§message: String

Notification message

§

Benchmark

Benchmark against SWE-bench evaluation framework

Fields

§task_file: Option<PathBuf>

Path to a JSON benchmark specification

§task: Option<String>

Inline JSON specification for quick experiments

§output: Option<PathBuf>

Optional path to write the structured benchmark report

§max_tasks: Option<usize>

Limit the number of tasks executed

§

CreateProject

Create complete Rust project

Fields

§name: String
§features: Vec<String>
§

Revert

Revert agent to a previous snapshot

Fields

§turn: usize

Turn number to revert to

§partial: Option<String>

Scope of revert operation: conversation, code, full

§

Snapshots

List all available snapshots

§

CleanupSnapshots

Clean up old snapshots

Features: • Remove snapshots beyond limit • Configurable retention policy • Safe deletion with confirmation

Examples: vtcode cleanup-snapshots vtcode cleanup-snapshots –max 20

Fields

§max: usize

Maximum number of snapshots to keep

Default: 50 Example: –max 20

§

Init

Initialize project guidance and workspace scaffolding

Bootstrap a workspace for use with VT Code. Creates vtcode.toml, AGENTS.md, and other scaffolding. Run this once per project.

Examples: vtcode init vtcode init –force

Fields

§force: bool

Overwrite an existing AGENTS.md without prompting

§

InitProject

Initialize project in ~/.vtcode/projects/

Create a new project entry in the VT Code projects directory. This is separate from vtcode init which bootstraps a workspace.

Examples: vtcode init-project vtcode init-project –name my-project vtcode init-project –force –migrate

Fields

§name: Option<String>

Project name - defaults to current directory name

§force: bool

Force initialization - overwrite existing project structure

§migrate: bool

Migrate existing files - move existing config/cache files to new structure

§

Config

Generate configuration file

Create a vtcode.toml configuration file with default settings. Use –global to create in ~/.vtcode/ or specify an output path.

Examples: vtcode config vtcode config –global vtcode config –output ./my-vtcode.toml

Fields

§output: Option<PathBuf>

Output file path

§global: bool

Create in user home directory (~/.vtcode/vtcode.toml)

§

Login

Authenticate with a supported provider

Start an OAuth or API-key login flow for the given provider. Credentials are stored securely in the OS keychain.

Examples: vtcode login openai vtcode login openrouter vtcode login codex vtcode login codex –device-code

Fields

§provider: String

Provider name (openai, openrouter, copilot, or codex)

§device_code: bool

Use device-code login when the provider supports it (currently codex only)

§

Logout

Clear stored authentication credentials for a provider

Remove stored OAuth tokens or API keys for the given provider.

Examples: vtcode logout openai vtcode logout openrouter

Fields

§provider: String

Provider name (openai, openrouter, copilot, or codex)

§

Auth

Show authentication status for one provider or all supported providers

Display whether each provider is authenticated, which credential type is in use, and token/session metadata when available.

Examples: vtcode auth vtcode auth openai vtcode auth openrouter

Fields

§provider: Option<String>

Optional provider name (openai, openrouter, copilot, or codex)

§

ToolPolicy

Manage tool execution policies

Fields

§

Mcp

Manage Model Context Protocol providers

Fields

§command: McpCommands
§

A2a

Agent2Agent (A2A) Protocol

Fields

§command: A2aCommands
§

AppServer

Proxy to the official Codex app-server

Fields

§listen: String

Transport listen target passed through to codex app-server

§

Models

Manage models and providers

Fields

§

Pods

Manage GPU pod deployments

Fields

§

Man

Generate or display man pages

Fields

§command: Option<String>

Command name to generate man page for (optional)

§output: Option<PathBuf>

Output file path to save man page

§

Skills(SkillsSubcommand)

Manage Agent Skills

Skills are reusable instruction sets that extend the agent’s capabilities. Each skill is a directory containing a SKILL.md manifest and optional scripts.

Examples: vtcode skills list vtcode skills create my-skill vtcode skills load my-skill vtcode skills info my-skill vtcode skills validate ./path/to/skill

§

ListSkills

List available skills (alias for vtcode skills list)

§

Dependencies(DependenciesSubcommand)

Manage optional VT Code dependencies

Install, update, or check the status of optional tools that VT Code can use (ripgrep, ast-grep, search-tools bundle).

Examples: vtcode dependencies status vtcode dependencies install search-tools vtcode deps install ripgrep

§

Check

Run built-in repository checks

Execute repository-level checks such as ast-grep rule tests and scans.

Examples: vtcode check ast-grep

Fields

§

Update

Check for and install binary updates from GitHub Releases

Manage VT Code binary updates. By default checks for a new version and offers to install it. Use flags to customize behavior.

Examples: vtcode update vtcode update –check vtcode update –force vtcode update –list vtcode update –pin 0.120.0 vtcode update –unpin vtcode update –channel beta

Fields

§check: bool

Check for updates without installing

§force: bool

Force update even if on latest version

§list: bool

List available versions

§limit: usize

Number of versions to list (default: 10)

§pin: Option<String>

Pin to a specific version

§unpin: bool

Unpin version

§channel: Option<String>

Set release channel (stable, beta, nightly)

§show_config: bool

Show current update configuration

§

AnthropicApi

Start Anthropic API compatibility server

Fields

§port: u16

Port to run the server on

§host: String

Host address to bind to

Trait Implementations§

Source§

impl Clone for Commands

Source§

fn clone(&self) -> Commands

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Commands

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for Commands

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl Subcommand for Commands

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CacheValue for T
where T: Send + Sync + Clone + 'static,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Downcast for T
where T: Any,

Source§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
Source§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
Source§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

Source§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<D> OwoColorize for D

Source§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where C: Color,

Set the foreground color generically Read more
Source§

fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>
where C: Color,

Set the background color generically. Read more
Source§

fn black(&self) -> FgColorDisplay<'_, Black, Self>

Change the foreground color to black
Source§

fn on_black(&self) -> BgColorDisplay<'_, Black, Self>

Change the background color to black
Source§

fn red(&self) -> FgColorDisplay<'_, Red, Self>

Change the foreground color to red
Source§

fn on_red(&self) -> BgColorDisplay<'_, Red, Self>

Change the background color to red
Source§

fn green(&self) -> FgColorDisplay<'_, Green, Self>

Change the foreground color to green
Source§

fn on_green(&self) -> BgColorDisplay<'_, Green, Self>

Change the background color to green
Source§

fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>

Change the foreground color to yellow
Source§

fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>

Change the background color to yellow
Source§

fn blue(&self) -> FgColorDisplay<'_, Blue, Self>

Change the foreground color to blue
Source§

fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>

Change the background color to blue
Source§

fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to magenta
Source§

fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to magenta
Source§

fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to purple
Source§

fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to purple
Source§

fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>

Change the foreground color to cyan
Source§

fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>

Change the background color to cyan
Source§

fn white(&self) -> FgColorDisplay<'_, White, Self>

Change the foreground color to white
Source§

fn on_white(&self) -> BgColorDisplay<'_, White, Self>

Change the background color to white
Source§

fn default_color(&self) -> FgColorDisplay<'_, Default, Self>

Change the foreground color to the terminal default
Source§

fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>

Change the background color to the terminal default
Source§

fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>

Change the foreground color to bright black
Source§

fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>

Change the background color to bright black
Source§

fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>

Change the foreground color to bright red
Source§

fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>

Change the background color to bright red
Source§

fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>

Change the foreground color to bright green
Source§

fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>

Change the background color to bright green
Source§

fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>

Change the foreground color to bright yellow
Source§

fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>

Change the background color to bright yellow
Source§

fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>

Change the foreground color to bright blue
Source§

fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>

Change the background color to bright blue
Source§

fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright magenta
Source§

fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright magenta
Source§

fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright purple
Source§

fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright purple
Source§

fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>

Change the foreground color to bright cyan
Source§

fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>

Change the background color to bright cyan
Source§

fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>

Change the foreground color to bright white
Source§

fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>

Change the background color to bright white
Source§

fn bold(&self) -> BoldDisplay<'_, Self>

Make the text bold
Source§

fn dimmed(&self) -> DimDisplay<'_, Self>

Make the text dim
Source§

fn italic(&self) -> ItalicDisplay<'_, Self>

Make the text italicized
Source§

fn underline(&self) -> UnderlineDisplay<'_, Self>

Make the text underlined
Make the text blink
Make the text blink (but fast!)
Source§

fn reversed(&self) -> ReversedDisplay<'_, Self>

Swap the foreground and background colors
Source§

fn hidden(&self) -> HiddenDisplay<'_, Self>

Hide the text
Source§

fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>

Cross out the text
Source§

fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the foreground color at runtime. Only use if you do not know which color will be used at compile-time. If the color is constant, use either OwoColorize::fg or a color-specific method, such as OwoColorize::green, Read more
Source§

fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the background color at runtime. Only use if you do not know what color to use at compile-time. If the color is constant, use either OwoColorize::bg or a color-specific method, such as OwoColorize::on_yellow, Read more
Source§

fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the foreground color to a specific RGB value.
Source§

fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the background color to a specific RGB value.
Source§

fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>

Sets the foreground color to an RGB value.
Source§

fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>

Sets the background color to an RGB value.
Source§

fn style(&self, style: Style) -> Styled<&Self>

Apply a runtime-determined style
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WasmCompatSend for T
where T: Send,

Source§

impl<T> WasmCompatSync for T
where T: Sync,

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more