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

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

value: String

Methods

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

pub fn new(s: String) -> Self[src]

Trait Implementations

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

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

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

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

Auto Trait Implementations

impl<S> Send for String<S> where
    S: Send

impl<S> Sync for String<S> where
    S: Sync

impl<S> Unpin for String<S> where
    S: Unpin

impl<S> UnwindSafe for String<S> where
    S: UnwindSafe

impl<S> RefUnwindSafe for String<S> where
    S: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]