#[repr(C)]pub struct TopologyCache {
pub cache_id: u32,
}
Fields§
§cache_id: u32
Unique id of this cache node. No other semantics are assumed.
Trait Implementations§
Source§impl Clone for TopologyCache
impl Clone for TopologyCache
Source§fn clone(&self) -> TopologyCache
fn clone(&self) -> TopologyCache
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 TopologyCache
impl Debug for TopologyCache
Source§impl FromBytes for TopologyCachewhere
u32: FromBytes,
impl FromBytes for TopologyCachewhere
u32: FromBytes,
Source§impl FromZeros for TopologyCachewhere
u32: FromZeros,
impl FromZeros for TopologyCachewhere
u32: FromZeros,
Source§impl IntoBytes for TopologyCachewhere
u32: IntoBytes,
impl IntoBytes for TopologyCachewhere
u32: IntoBytes,
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§impl PartialEq for TopologyCache
impl PartialEq for TopologyCache
Source§impl TryFromBytes for TopologyCachewhere
u32: TryFromBytes,
impl TryFromBytes for TopologyCachewhere
u32: TryFromBytes,
§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,
§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,
§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 TopologyCache
impl Eq for TopologyCache
impl StructuralPartialEq for TopologyCache
Auto Trait Implementations§
impl Freeze for TopologyCache
impl RefUnwindSafe for TopologyCache
impl Send for TopologyCache
impl Sync for TopologyCache
impl Unpin for TopologyCache
impl UnwindSafe for TopologyCache
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)