Trait ApplicationCLIInterface

Source
pub trait ApplicationCLIInterface:
    Debug
    + Clone
    + Send
    + Sync {
    // Required method
    fn arguments() -> Self
       where Self: Sized;

    // Provided method
    fn shared(self) -> Arc<Self>
       where Self: Sized { ... }
}

Required Methods§

Source

fn arguments() -> Self
where Self: Sized,

Provided Methods§

Source

fn shared(self) -> Arc<Self>
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ApplicationCLIInterface for ()

Source§

fn arguments() -> Self
where Self: Sized,

Implementors§