Struct grpcio::AuthProperty [−][src]
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,