pub struct ObjectEvictInfo {
pub obj_id: ObjID,
pub range: ObjectRange,
pub phys: PhysRange,
pub version: u64,
pub flags: ObjectEvictFlags,
}
Fields§
§obj_id: ObjID
§range: ObjectRange
§phys: PhysRange
§version: u64
§flags: ObjectEvictFlags
Implementations§
Source§impl ObjectEvictInfo
impl ObjectEvictInfo
pub fn new( obj_id: ObjID, range: ObjectRange, phys: PhysRange, version: u64, flags: ObjectEvictFlags, ) -> Self
Trait Implementations§
Source§impl Clone for ObjectEvictInfo
impl Clone for ObjectEvictInfo
Source§fn clone(&self) -> ObjectEvictInfo
fn clone(&self) -> ObjectEvictInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ObjectEvictInfo
impl Debug for ObjectEvictInfo
Source§impl Ord for ObjectEvictInfo
impl Ord for ObjectEvictInfo
Source§fn cmp(&self, other: &ObjectEvictInfo) -> Ordering
fn cmp(&self, other: &ObjectEvictInfo) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ObjectEvictInfo
impl PartialEq for ObjectEvictInfo
Source§impl PartialOrd for ObjectEvictInfo
impl PartialOrd for ObjectEvictInfo
impl Copy for ObjectEvictInfo
impl Eq for ObjectEvictInfo
impl StructuralPartialEq for ObjectEvictInfo
Auto Trait Implementations§
impl Freeze for ObjectEvictInfo
impl ObjSafe for ObjectEvictInfo
impl RefUnwindSafe for ObjectEvictInfo
impl Send for ObjectEvictInfo
impl Sync for ObjectEvictInfo
impl Unpin for ObjectEvictInfo
impl UnwindSafe for ObjectEvictInfo
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