pub struct Overflow {
pub capacity: usize,
pub offered: usize,
}Expand description
The exact magnitude refused because more items were offered than a ceiling admits.
Fields§
§capacity: usizeThe most items the bound admits.
offered: usizeHow many items were offered.
Trait Implementations§
impl Copy for Overflow
impl Eq for Overflow
Source§impl Error for Overflow
impl Error for Overflow
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()
Source§impl From<Overflow> for NonEmptyError
impl From<Overflow> for NonEmptyError
Source§impl From<Overflow> for RenderError
impl From<Overflow> for RenderError
Source§impl From<Overflow> for ShellError
impl From<Overflow> for ShellError
Source§impl From<Overflow> for StampError
Every overflow a rendering road meets is a tree that outgrew the declared token magnitude.
impl From<Overflow> for StampError
Every overflow a rendering road meets is a tree that outgrew the declared token magnitude.
The nonclaim is stated here: this is the only overflow the roads in this home can raise, because the only bounded collection they build is a token group.
Source§impl From<Overflow> for ProjectionError
impl From<Overflow> for ProjectionError
impl StructuralPartialEq for Overflow
Auto Trait Implementations§
impl Freeze for Overflow
impl RefUnwindSafe for Overflow
impl Send for Overflow
impl Sync for Overflow
impl Unpin for Overflow
impl UnsafeUnpin for Overflow
impl UnwindSafe for Overflow
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