Struct protocol::types::Vec [−][src]
Expand description
A newtype wrapping Vec<T>
but with a custom length prefix type.
Fields
elements: Vec<T>
The inner Vec<T>
.
Implementations
Trait Implementations
Reads a value from a stream. Read more
Writes a value to a stream.
Reads a new item with a fresh set of hints. Read more
Writes a value to a stream.
Convers the value into a byte stream that implements std::io::Read
.
Parses a new value from its raw byte representation. Read more
Parses a new value from its raw byte representation. Read more
Gets the raw byte representation of the value.
Gets the raw bytes of this type as a field of a larger type.
Auto Trait Implementations
impl<S, T> RefUnwindSafe for Vec<S, T> where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, T> UnwindSafe for Vec<S, T> where
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more