pub struct Verdict { /* private fields */ }Expand description
What a task’s readiness check concluded, shared between the check, the task’s output and the scheduler. The first conclusion stands.
Implementations§
Source§impl Verdict
impl Verdict
pub fn is_ready(&self) -> bool
pub fn is_decided(&self) -> bool
pub fn set_ready(&self)
Sourcepub fn set_ready_at(&self, url: Option<String>)
pub fn set_ready_at(&self, url: Option<String>)
Ready, with the address the task reported, unless it was decided already.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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