pub enum Reservation {
Input,
Dependency,
Provider,
}Expand description
Which kind of load a charge belongs to, so a refusal says which pool refused (plan section 4.1).
Variants§
Input
An input the caller loaded: everything its meter charges.
Dependency
A file the environment loaded as a dependency (its LRU), and everything that file’s meter charges.
Provider
A typetree provider’s own data (a TPK’s trees), which no input owns: a refusal of it is the allocator’s, on whichever input’s read asked.
Trait Implementations§
Source§impl Clone for Reservation
impl Clone for Reservation
impl Copy for Reservation
Source§impl Debug for Reservation
impl Debug for Reservation
impl Eq for Reservation
Source§impl Hash for Reservation
impl Hash for Reservation
Source§impl PartialEq for Reservation
impl PartialEq for Reservation
impl StructuralPartialEq for Reservation
Auto Trait Implementations§
impl Forget for Reservation
impl Freeze for Reservation
impl Move for Reservation
impl RefUnwindSafe for Reservation
impl Send for Reservation
impl Sync for Reservation
impl Unpin for Reservation
impl UnsafeUnpin for Reservation
impl UnwindSafe for Reservation
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