pub struct AppOptions {
pub async_limits: AsyncLimits,
pub startup_data: Vec<u8>,
pub shutdown_deadline: Duration,
}Expand description
Resource limits and cleanup diagnostics for one application instance. These options never construct an executor or register application services.
Fields§
§async_limits: AsyncLimits§startup_data: Vec<u8>Opaque application-defined bytes, copied by the host before preparation.
At most HOST_MESSAGE_LIMIT bytes. Pax does not choose their encoding.
shutdown_deadline: DurationDiagnostic deadline only; unfinished cleanup retains its dependencies.
Trait Implementations§
Source§impl Clone for AppOptions
impl Clone for AppOptions
Auto Trait Implementations§
impl Freeze for AppOptions
impl RefUnwindSafe for AppOptions
impl Send for AppOptions
impl Sync for AppOptions
impl Unpin for AppOptions
impl UnsafeUnpin for AppOptions
impl UnwindSafe for AppOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.