[−][src]Struct libgssapi::oid::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.
fn index(&self, index: usize) -> &Self::Output
[src]
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?
fn into_iter(self) -> Self::IntoIter
[src]
impl Send for OidSet
[src]
impl Sync for OidSet
[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, 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>,