#[non_exhaustive]pub struct Bootstrap {
pub config: Store,
pub logging: Handle,
}Expand description
What init hands back: the configuration everything else reads, and the
handle that keeps the logging workers alive.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.config: StoreThe merged configuration store.
logging: HandleKeep this for the process lifetime; it is what flush and shutdown
are driven through.
Auto Trait Implementations§
impl !Freeze for Bootstrap
impl !RefUnwindSafe for Bootstrap
impl !UnwindSafe for Bootstrap
impl Send for Bootstrap
impl Sync for Bootstrap
impl Unpin for Bootstrap
impl UnsafeUnpin for Bootstrap
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