pub struct ServeConfig {
pub addr: String,
pub atelier_root: PathBuf,
}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.
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