Skip to main content

from_buffer

Function from_buffer 

Source
pub fn from_buffer<T: DeserializableTraceData>(
    data: &mut Buffer<T>,
) -> Result<(TracerPayload<T>, usize), DecodeError>
where T::Text: Clone,
Expand description

Generic over the deserialization mode (owned BytesData or borrowed SliceData).