Struct chandeliers_err::NotPositive
source · pub struct NotPositive<Var, Site> {
pub var: Var,
pub site: Site,
pub available_depth: usize,
pub attempted_depth: usize,
}Expand description
Error for when one tried to access too far into the past.
Fields§
§var: VarVariable that is not deep enough.
site: SiteLocation of the error.
available_depth: usizeHow deep we could have gone.
attempted_depth: usizeHow deep we actually tried to go.
Trait Implementations§
Auto Trait Implementations§
impl<Var, Site> RefUnwindSafe for NotPositive<Var, Site>where Site: RefUnwindSafe, Var: RefUnwindSafe,
impl<Var, Site> Send for NotPositive<Var, Site>where Site: Send, Var: Send,
impl<Var, Site> Sync for NotPositive<Var, Site>where Site: Sync, Var: Sync,
impl<Var, Site> Unpin for NotPositive<Var, Site>where Site: Unpin, Var: Unpin,
impl<Var, Site> UnwindSafe for NotPositive<Var, Site>where Site: UnwindSafe, Var: UnwindSafe,
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