#[cfg(feature = "std")] use std::error::Error; use std::fmt;
/// Error value indicating insufficient capacity /// /// This error only occur to `ArrayDeque<_, Saturating>`. #[derive(Clone, Copy, Eq, Ord, PartialEq, PartialOrd)] pubstruct CapacityError<T = ()> { /// The element that caused the error. pub element: T,
}
const CAPERROR: &str = "insufficient capacity";
#[cfg(feature = "std")] impl<T> Error for CapacityError<T> {}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.