pub struct ServeConfig {
pub addr: String,
pub atelier_root: PathBuf,
pub dry_run: bool,
}Expand description
Configuration for the shell server.
Fields§
§addr: StringThe address to bind, e.g. 127.0.0.1:8787.
atelier_root: PathBufDirectory containing generated Atelier cache files.
dry_run: boolInstall codecs and shapes, then return before binding the socket. Lets a caller confirm the serve verb dispatches and boots without holding a port.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServeConfig
impl RefUnwindSafe for ServeConfig
impl Send for ServeConfig
impl Sync for ServeConfig
impl Unpin for ServeConfig
impl UnsafeUnpin for ServeConfig
impl UnwindSafe for ServeConfig
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