Struct protocol::primitives::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: PartialEq + Integer> PartialEq for String<S>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Reads a value from a stream.

Writes a value to a stream.