[][src]Struct routinator::operation::Server

pub struct Server { /* fields omitted */ }

Run as server.

Methods

impl Server[src]

pub fn config_args<'a: 'b, 'b>(app: App<'a, 'b>) -> App<'a, 'b>[src]

Adds the command configuration to a clap app.

pub fn from_arg_matches(
    matches: &ArgMatches,
    cur_dir: &Path,
    config: &mut Config
) -> Result<Self, Error>
[src]

Creates a command from clap matches.

pub fn run(self, config: Config) -> Result<(), ExitError>[src]

Starts the RTR server.

If detach is true, will fork the server and exit. Otherwise just runs the server forever. Runs the command.

Trait Implementations

impl From<Server> for Operation[src]

Auto Trait Implementations

impl Send for Server

impl Sync for Server

impl Unpin for Server

impl UnwindSafe for Server

impl RefUnwindSafe for Server

Blanket Implementations

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

impl<T> From<T> for 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