Enum zone::CreationOptions
source · pub enum CreationOptions {
FromDetached(PathBuf),
Blank,
Default,
Template(String),
}
Expand description
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§
impl RefUnwindSafe for CreationOptions
impl Send for CreationOptions
impl Sync for CreationOptions
impl Unpin for CreationOptions
impl UnwindSafe for CreationOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more