[−][src]Struct rsasl::Mechanisms
A String representing a list of Mechanisms
Gsasl uses the concept of 'string of Mechanism, separated by invalid characters such as SPC' in several locations. This struct allows to easier de-/construct such values.
Implementations
impl Mechanisms
[src]
pub fn from_sasl(inner: SaslString) -> Self
[src]
pub fn iter(&self) -> impl Iterator<Item = &str>
[src]
Iterate over the mechanisms
pub fn as_slice(&self) -> &[u8]ⓘ
[src]
pub fn as_raw_ptr(&self) -> *const c_char
[src]
Convert the Mechanism List into a C pointer
Trait Implementations
impl<B: AsRef<str>> FromIterator<B> for Mechanisms
[src]
pub fn from_iter<I: IntoIterator<Item = B>>(iter: I) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for Mechanisms
[src]
impl !Send for Mechanisms
[src]
impl !Sync for Mechanisms
[src]
impl Unpin for Mechanisms
[src]
impl UnwindSafe for Mechanisms
[src]
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,
pub 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.
pub 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>,