pub trait Span:
Clone
+ Send
+ Sync
+ 'static
+ Eq
+ PartialEq
+ Ord
+ PartialOrd
+ Debug
+ Hash
+ Display
+ Codec<Cfg = ()> { }Expand description
Types that can be read from a variable-size byte sequence.
Span is typically used to parse things like requests from an untrusted
network connection (with variable-length fields). Once parsed, these types
are assumed to be well-formed (which prevents duplicate validation).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".