Skip to main content

Module bytes

Module bytes 

Source
Expand description

This module contains an implementation of a contiguous immutable memory region that knows how to de-allocate itself, Bytes. Note that this is a low-level functionality of this crate.

Re-exportsยง

use core::slice; ๐Ÿ”’
use std::ptr::NonNull; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Formatter; ๐Ÿ”’
use crate::alloc::Deallocation; ๐Ÿ”’
use crate::buffer::dangling_ptr; ๐Ÿ”’
use crate::MemoryPool; ๐Ÿ”’
use crate::TrackedReservation; ๐Ÿ”’

Structsยง

Bytes ๐Ÿ”’
A continuous, fixed-size, immutable memory region that knows how to de-allocate itself.