pub trait AsFragmentedByteSlice<B: Fragment> {
// Required method
fn as_fragmented_byte_slice(&mut self) -> FragmentedByteSlice<'_, B>;
}
Expand description
A type that can produce a FragmentedByteSlice
view of itself.
Required Methods§
Sourcefn as_fragmented_byte_slice(&mut self) -> FragmentedByteSlice<'_, B>
fn as_fragmented_byte_slice(&mut self) -> FragmentedByteSlice<'_, B>
Generates a FragmentedByteSlice
view of self
.