pub enum AllocationProperty {
File,
Native,
Pinned,
Other,
}Expand description
The kind of allocation bahind the Bytes type.
Variants§
File
A file is used to store the data.
Native
The native allocator of Rust is used.
Pinned
Pinned memory is used.
Other
Another kind of memory is used.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AllocationProperty
impl RefUnwindSafe for AllocationProperty
impl Send for AllocationProperty
impl Sync for AllocationProperty
impl Unpin for AllocationProperty
impl UnwindSafe for AllocationProperty
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