pub struct ShutdownRequest {
pub reason: ShutdownReason,
pub deadline: ShutdownDeadline,
}Expand description
Immutable first shutdown request and its shared absolute deadline.
Fields§
§reason: ShutdownReasonThe reason value.
deadline: ShutdownDeadlineThe deadline value.
Trait Implementations§
Source§impl Clone for ShutdownRequest
impl Clone for ShutdownRequest
impl Copy for ShutdownRequest
Source§impl Debug for ShutdownRequest
impl Debug for ShutdownRequest
impl Eq for ShutdownRequest
Source§impl PartialEq for ShutdownRequest
impl PartialEq for ShutdownRequest
impl StructuralPartialEq for ShutdownRequest
Auto Trait Implementations§
impl Freeze for ShutdownRequest
impl RefUnwindSafe for ShutdownRequest
impl Send for ShutdownRequest
impl Sync for ShutdownRequest
impl Unpin for ShutdownRequest
impl UnsafeUnpin for ShutdownRequest
impl UnwindSafe for ShutdownRequest
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