Enum nakadion::handler::InactivityAnswer [−][src]
pub enum InactivityAnswer {
KeepMeAlive,
KillMe,
}
Expand description
Returned by a BatchHandler
when queried
on inactivity.
Variants
Implementations
Returns true
if the BatchHandler
should be killed.
Returns true
if the BatchHandler
should stay alive.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InactivityAnswer
impl Send for InactivityAnswer
impl Sync for InactivityAnswer
impl Unpin for InactivityAnswer
impl UnwindSafe for InactivityAnswer
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more