pub trait Source: Copy {
type Selection;
// Required method
fn select(self, bytes: &[u8]) -> Option<Self::Selection>;
}Expand description
Selects a byte range while preserving its source’s ownership proof.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".