Struct protocol::types::string::String [] [src]

pub struct String<S: Integer = u32> {
    pub value: String,
    // some fields omitted
}

A string with a custom size prefix integer type. S - The size prefix type.

Fields

Methods

impl<S: Integer> String<S>
[src]

Trait Implementations

impl<S: Clone + Integer> Clone for String<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Debug + Integer> Debug for String<S>
[src]

Formats the value using the given formatter.

impl<S: Integer> Type for String<S>
[src]

Reads a type for a stream.

Writes a type to a stream.