pub trait CliReader {
// Required method
fn read(
&self,
binding: &Binding,
args: &[String],
cancel: &AtomicBool,
) -> Result<Value, TaskFailure>;
// Provided method
fn identity_scope(&self, _binding: &Binding) -> Option<String> { ... }
}Expand description
The seam replaces only the external CLI, not task semantics.
Required Methods§
fn read( &self, binding: &Binding, args: &[String], cancel: &AtomicBool, ) -> Result<Value, TaskFailure>
Provided Methods§
Sourcefn identity_scope(&self, _binding: &Binding) -> Option<String>
fn identity_scope(&self, _binding: &Binding) -> Option<String>
Identity reuse is opt-in because launchers may select different accounts.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".