[][src]Struct libgssapi::oid::OidSet

pub struct OidSet(_);

A set of OIDs.

Methods

impl OidSet[src]

pub fn new() -> Result<OidSet, Error>[src]

Create an empty OID set. I don't know how this can fail unless malloc fails.

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

How many oids are in this set

pub fn add(&mut self, id: &Oid) -> Result<(), Error>[src]

Add an OID to the set.

pub fn contains(&self, id: &Oid) -> Result<bool, Error>[src]

Ask gssapi whether it thinks the specified oid is in the specified set.

Trait Implementations

impl Debug for OidSet[src]

impl Drop for OidSet[src]

impl Index<usize> for OidSet[src]

type Output = Oid

The returned type after indexing.

impl<'a> IntoIterator for &'a OidSet[src]

type Item = &'a Oid

The type of the elements being iterated over.

type IntoIter = OidSetIter<'a>

Which kind of iterator are we turning this into?

impl Send for OidSet[src]

impl Sync for OidSet[src]

Auto Trait Implementations

impl RefUnwindSafe for OidSet

impl Unpin for OidSet

impl UnwindSafe for OidSet

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.