pub struct Options {
pub home: String,
pub credential: Option<PathBuf>,
pub state: PathBuf,
pub port: u16,
pub archival: bool,
pub name: String,
pub foreground: bool,
pub extra: Vec<String>,
}Expand description
What choir seed was asked to do.
Fields§
§home: StringThe home whose log this machine will copy, without a trailing slash.
credential: Option<PathBuf>The user:token file the home issued, once it has.
state: PathBufThe state directory, ~/.choir unless given.
port: u16The port to serve on. Ignored by an archival seed.
archival: boolReplicate and store, bind nothing.
name: StringThe principal’s name at the home, as the keys line and the ACL will spell it.
foreground: boolBecome the daemon instead of installing a unit.
extra: Vec<String>Daemon flags, passed through after --.
Trait Implementations§
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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