Enum zone::CreationOptions[][src]

pub enum CreationOptions {
    FromDetached(PathBuf),
    Blank,
    Default,
    Template(String),
}

Describes the options for creation a new zone.

Variants

FromDetached(PathBuf)

Configures detached zone onto a new host.

The provided path is the zonepath location of the detached zone that has been moved onto this new host.

Blank

Creates a blank configuration.

Default

Creates a configuration based on the system defaults.

Template(String)

Creates a configuration identical to another configured zone. The supplied string is the name of the zone to copy.

Auto Trait Implementations

Blanket Implementations

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

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

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

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 = Infallible

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.