pub enum LifetimeProblem {
NotAfterCreation,
ExceedsCap {
cap_ms: u64,
},
OutlivesBundle,
}Variants§
NotAfterCreation
An expiry at or before creation.
ExceedsCap
A lifetime beyond the hard or host cap.
OutlivesBundle
An item that outlives its bundle.
Trait Implementations§
Source§impl Clone for LifetimeProblem
impl Clone for LifetimeProblem
impl Copy for LifetimeProblem
Source§impl Debug for LifetimeProblem
impl Debug for LifetimeProblem
impl Eq for LifetimeProblem
Source§impl PartialEq for LifetimeProblem
impl PartialEq for LifetimeProblem
impl StructuralPartialEq for LifetimeProblem
Auto Trait Implementations§
impl Freeze for LifetimeProblem
impl RefUnwindSafe for LifetimeProblem
impl Send for LifetimeProblem
impl Sync for LifetimeProblem
impl Unpin for LifetimeProblem
impl UnsafeUnpin for LifetimeProblem
impl UnwindSafe for LifetimeProblem
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