Struct grpcio::AuthProperty[][src]

pub struct AuthProperty<'a> { /* fields omitted */ }

Auth properties are elements of the AuthContext. They have a name (a key of type string) and a value which can be a string or binary data.

Implementations

impl<'a> AuthProperty<'a>[src]

pub fn name(&self) -> &'a str[src]

pub fn value(&self) -> &'a [u8][src]

pub fn value_str(&self) -> Result<&'a str, Utf8Error>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for AuthProperty<'a>

impl<'a> !Send for AuthProperty<'a>

impl<'a> !Sync for AuthProperty<'a>

impl<'a> Unpin for AuthProperty<'a>

impl<'a> UnwindSafe for AuthProperty<'a>

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.