#[repr(C)]
pub struct extent_hooks_s { pub alloc: *mut extent_alloc_t, pub dalloc: *mut extent_dalloc_t, pub destroy: *mut extent_destroy_t, pub commit: *mut extent_commit_t, pub decommit: *mut extent_decommit_t, pub purge_lazy: *mut extent_purge_t, pub purge_forced: *mut extent_purge_t, pub split: *mut extent_split_t, pub merge: *mut extent_merge_t, }
Expand description

Extent lifetime management functions.

Fields

alloc: *mut extent_alloc_tdalloc: *mut extent_dalloc_tdestroy: *mut extent_destroy_tcommit: *mut extent_commit_tdecommit: *mut extent_decommit_tpurge_lazy: *mut extent_purge_tpurge_forced: *mut extent_purge_tsplit: *mut extent_split_tmerge: *mut extent_merge_t

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.