Trait ReservationOwner

Source
pub trait ReservationOwner: Send + Sync {
    // Required method
    fn release_reservation(&self, owner_object_id: Option<u64>, amount: u64);
}
Expand description

This trait is implemented by things that own reservations.

Required Methods§

Source

fn release_reservation(&self, owner_object_id: Option<u64>, amount: u64)

Report that bytes are being released from the reservation back to the the |ReservationOwner| where |owner_object_id| is the owner under the root object store associated with the reservation.

Implementors§