[][src]Struct libgssapi::oid::Oid

#[repr(C)]
pub struct Oid { /* fields omitted */ }

An Oid. Did I mention I hate OIDs.

Methods

impl Oid[src]

pub const fn from_slice(ber: &'static [u8]) -> Oid[src]

If you need to use an OID I didn't define, then you must construct a BER encoded slice of it's components and store it in static memory (yes the standard REQUIRES that). Then you can pass it to this function and get a proper Oid handle. If you get the BER wrong something wonderful will happen, I just can't (won't?) say what.

Trait Implementations

impl Clone for Oid[src]

impl Copy for Oid[src]

impl Debug for Oid[src]

impl Deref for Oid[src]

type Target = [u8]

The resulting type after dereferencing.

impl Display for Oid[src]

impl Eq for Oid[src]

impl From<gss_OID_desc_struct> for Oid[src]

impl Hash for Oid[src]

impl Ord for Oid[src]

impl PartialEq<Oid> for Oid[src]

impl PartialOrd<Oid> for Oid[src]

impl Send for Oid[src]

impl Sync for Oid[src]

Auto Trait Implementations

impl RefUnwindSafe for Oid

impl Unpin for Oid

impl UnwindSafe for Oid

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> 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.