[][src]Struct ntex_amqp::codec::types::Symbol

pub struct Symbol(pub Str);

Implementations

impl Symbol[src]

pub const fn from_static(s: &'static str) -> Symbol[src]

pub fn from_slice(s: &str) -> Symbol[src]

pub fn as_bytes(&self) -> &[u8]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

pub fn as_str(&self) -> &str[src]

pub fn to_bytes_str(&self) -> ByteString[src]

pub fn len(&self) -> usize[src]

Trait Implementations

impl Borrow<str> for Symbol[src]

impl Clone for Symbol[src]

impl Debug for Symbol[src]

impl Display for Symbol[src]

impl Encode for Symbol[src]

impl Eq for Symbol[src]

impl From<&'static str> for Symbol[src]

impl From<ByteString> for Symbol[src]

impl From<Str> for Symbol[src]

impl From<String> for Symbol[src]

impl From<Symbol> for Variant[src]

impl From<Symbol> for ErrorCondition[src]

impl Hash for Symbol[src]

impl PartialEq<Symbol> for Symbol[src]

impl PartialEq<str> for Symbol[src]

impl StructuralEq for Symbol[src]

impl StructuralPartialEq for Symbol[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> CallHasher for T where
    T: Hash + ?Sized
[src]

impl<T> Decode for T where
    T: DecodeFormatted, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>,