pub struct Options {
pub exposure: Exposure,
pub port: u16,
pub state: PathBuf,
pub repo: Option<String>,
pub invite: Option<String>,
pub yes: bool,
pub dry_run: bool,
pub foreground: bool,
pub extra: Vec<String>,
}Expand description
What choir host was asked to do.
Fields§
§exposure: ExposureLoopback, a domain, or a magic-DNS name.
port: u16The port to serve on.
state: PathBufThe state directory, ~/.choir unless given.
repo: Option<String>A first repository to create, if one was named.
invite: Option<String>A first person to invite, if one was named.
yes: boolDo not stop to ask about linger; warn and carry on.
dry_run: boolStop after the certificate would have been requested, having
requested nothing. certbot --dry-run underneath.
foreground: boolDo not hand the node to a service manager; become it.
For a container, where the runtime is the supervisor and PID 1
should be the daemon. Everything up to and including the address
still happens; then this execs choir node serve, so the
process the runtime watches is choir-node itself.
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