pub struct Unload {
pub policy: UnloadPolicy,
pub timeout_ms: Option<u64>,
}Expand description
The unload: declaration ({policy, timeout}).
Fields§
§policy: UnloadPolicy§timeout_ms: Option<u64>Drain bound in ms; None = unbounded (detach-like drain).
Trait Implementations§
impl Copy for Unload
Source§impl<'de> Deserialize<'de> for Unload
impl<'de> Deserialize<'de> for Unload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Unload
Auto Trait Implementations§
impl Freeze for Unload
impl RefUnwindSafe for Unload
impl Send for Unload
impl Sync for Unload
impl Unpin for Unload
impl UnsafeUnpin for Unload
impl UnwindSafe for Unload
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