pub struct StatsScheduledErrorPreview(pub Pin<Box<dyn NewFuture<Output = ()> + Send>>);Expand description
This error is returned to indicate that the stats scheduler was already retrieved before and potentially is already running, but might be retrieved again from this error
Tuple Fields§
§0: Pin<Box<dyn NewFuture<Output = ()> + Send>>Trait Implementations§
Source§impl Debug for StatsScheduledErrorPreview
impl Debug for StatsScheduledErrorPreview
Source§impl Display for StatsScheduledErrorPreview
impl Display for StatsScheduledErrorPreview
Source§impl Error for StatsScheduledErrorPreview
impl Error for StatsScheduledErrorPreview
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for StatsScheduledErrorPreview
impl !RefUnwindSafe for StatsScheduledErrorPreview
impl Send for StatsScheduledErrorPreview
impl !Sync for StatsScheduledErrorPreview
impl Unpin for StatsScheduledErrorPreview
impl !UnwindSafe for StatsScheduledErrorPreview
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more