pub struct NotPositive<var, site, available_depth, attempted_depth> {
pub var: var,
pub site: site,
pub available_depth: available_depth,
pub attempted_depth: attempted_depth,
}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: available_depthHow deep we could have gone
attempted_depth: attempted_depthHow deep we actually tried to go
Trait Implementations§
Auto Trait Implementations§
impl<var, site, available_depth, attempted_depth> Freeze for NotPositive<var, site, available_depth, attempted_depth>
impl<var, site, available_depth, attempted_depth> RefUnwindSafe for NotPositive<var, site, available_depth, attempted_depth>where
var: RefUnwindSafe,
site: RefUnwindSafe,
available_depth: RefUnwindSafe,
attempted_depth: RefUnwindSafe,
impl<var, site, available_depth, attempted_depth> Send for NotPositive<var, site, available_depth, attempted_depth>
impl<var, site, available_depth, attempted_depth> Sync for NotPositive<var, site, available_depth, attempted_depth>
impl<var, site, available_depth, attempted_depth> Unpin for NotPositive<var, site, available_depth, attempted_depth>
impl<var, site, available_depth, attempted_depth> UnwindSafe for NotPositive<var, site, available_depth, attempted_depth>
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