[−][src]Struct libgssapi::oid::Oid
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]
impl Display for Oid
[src]
impl Eq for Oid
[src]
impl From<gss_OID_desc_struct> for Oid
[src]
fn from(oid: gss_OID_desc) -> Self
[src]
impl Hash for Oid
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Oid
[src]
fn cmp(&self, other: &Oid) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Oid> for Oid
[src]
impl PartialOrd<Oid> for Oid
[src]
fn partial_cmp(&self, other: &Oid) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Send for Oid
[src]
impl Sync for Oid
[src]
Auto Trait Implementations
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,