pub(crate) unsafe fn try_read_from<S, T: TryFromBytes>(
source: S,
candidate: MaybeUninit<T>,
) -> Result<T, TryReadError<S, T>>
Expand description
ยงSafety
All bytes of candidate
must be initialized.
pub(crate) unsafe fn try_read_from<S, T: TryFromBytes>(
source: S,
candidate: MaybeUninit<T>,
) -> Result<T, TryReadError<S, T>>
All bytes of candidate
must be initialized.