Function try_read_from

Source
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.