pub struct ReloadConfig {
pub drain_timeout: Duration,
pub preserve_state: bool,
pub force_unload_on_timeout: bool,
}Fields§
§drain_timeout: Duration§preserve_state: bool§force_unload_on_timeout: boolImplementations§
Source§impl ReloadConfig
impl ReloadConfig
pub fn with_drain_timeout(self, timeout: Duration) -> Self
pub fn with_state_preservation(self) -> Self
pub fn with_force_unload(self, force: bool) -> Self
Trait Implementations§
Source§impl Clone for ReloadConfig
impl Clone for ReloadConfig
Source§fn clone(&self) -> ReloadConfig
fn clone(&self) -> ReloadConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReloadConfig
impl Debug for ReloadConfig
Auto Trait Implementations§
impl Freeze for ReloadConfig
impl RefUnwindSafe for ReloadConfig
impl Send for ReloadConfig
impl Sync for ReloadConfig
impl Unpin for ReloadConfig
impl UnsafeUnpin for ReloadConfig
impl UnwindSafe for ReloadConfig
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