pub struct Config {
pub listen: String,
pub token: Option<String>,
pub cgroup_root: String,
pub poll_interval: Duration,
pub watch_log_bytes: usize,
pub bookmark_interval: Duration,
pub allow_host_paths: Arc<Vec<PathBuf>>,
}Fields§
§listen: String§token: Option<String>§cgroup_root: String§poll_interval: Duration§watch_log_bytes: usize§bookmark_interval: Duration§allow_host_paths: Arc<Vec<PathBuf>>Trait Implementations§
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Config
impl Move for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Configwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<Vec<PathBuf>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<PathBuf>>>: UnsafeUnpin,
impl UnwindSafe for Config
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