[][src]Struct krill::cli::KrillClient

pub struct KrillClient { /* fields omitted */ }

Command line tool for Krill admin tasks

Methods

impl KrillClient[src]

pub fn report(options: Options) -> Result<(), Error>[src]

Delegates the options to be processed, and reports the response back to the user. Note that error reporting is handled by CLI.

pub fn process(options: Options) -> Result<ApiResponse, Error>[src]

Processes the options, and returns a response ready for formatting. Note that this function is public to help integration testing the API and client.

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

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

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