#[repr(C)]pub struct BtiInfo {
pub minimum_contiguity: u64,
pub aspace_size: u64,
pub pmo_count: u64,
pub quarantine_count: u64,
}Expand description
Ergonomic equivalent of [sys::zx_info_bti_t]. Must be ABI-compatible with it.
Fields§
§minimum_contiguity: u64§aspace_size: u64§pmo_count: u64§quarantine_count: u64Trait Implementations§
Source§impl From<zx_info_bti_t> for BtiInfo
impl From<zx_info_bti_t> for BtiInfo
Source§fn from(info: zx_info_bti_t) -> BtiInfo
fn from(info: zx_info_bti_t) -> BtiInfo
Converts to this type from the input type.
Source§impl FromBytes for BtiInfo
impl FromBytes for BtiInfo
Source§impl FromZeros for BtiInfo
impl FromZeros for BtiInfo
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Extends a
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.Source§impl TryFromBytes for BtiInfowhere
u64: TryFromBytes,
impl TryFromBytes for BtiInfowhere
u64: TryFromBytes,
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for BtiInfo
impl Eq for BtiInfo
impl Immutable for BtiInfo
impl StructuralPartialEq for BtiInfo
Auto Trait Implementations§
impl Freeze for BtiInfo
impl RefUnwindSafe for BtiInfo
impl Send for BtiInfo
impl Sync for BtiInfo
impl Unpin for BtiInfo
impl UnwindSafe for BtiInfo
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