pub struct RawEntity { /* private fields */ }Trait Implementations§
Source§impl FromBytes for RawEntity
impl FromBytes for RawEntity
Source§impl IntoBytes for RawEntity
impl IntoBytes for RawEntity
Source§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§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl TryFromBytes for RawEntitywhere
[u8; 100]: TryFromBytes,
[u8; 8]: TryFromBytes,
[u8; 12]: TryFromBytes,
u8: TryFromBytes,
[u8; 6]: TryFromBytes,
[u8; 2]: TryFromBytes,
[u8; 32]: TryFromBytes,
[u8; 155]: TryFromBytes,
impl TryFromBytes for RawEntitywhere
[u8; 100]: TryFromBytes,
[u8; 8]: TryFromBytes,
[u8; 12]: TryFromBytes,
u8: TryFromBytes,
[u8; 6]: TryFromBytes,
[u8; 2]: TryFromBytes,
[u8; 32]: TryFromBytes,
[u8; 155]: 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 Immutable for RawEntity
Auto Trait Implementations§
impl Freeze for RawEntity
impl RefUnwindSafe for RawEntity
impl Send for RawEntity
impl Sync for RawEntity
impl Unpin for RawEntity
impl UnwindSafe for RawEntity
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