Struct ldap3::exop::Exop [−][src]
Generic extended operation.
Since the same struct can be used both for requests and responses,
both fields must be declared as optional; when sending an extended
request, name
must not be None
.
Fields
name: Option<String>
OID of the operation. It may be absent in the response.
val: Option<Vec<u8>>
Request or response value. It may be absent in both cases.
Implementations
impl Exop
[src]
pub fn parse<T: ExopParser>(&self) -> T
[src]
Parse the generic exop into a exop-specific struct.
The parser will panic if the value is None
. See
control parsing,
which behaves analogously, for discussion and rationale.
Trait Implementations
impl Clone for Exop
[src]
impl Debug for Exop
[src]
impl<'a> From<PasswordModify<'a>> for Exop
[src]
fn from(pm: PasswordModify<'a>) -> Exop
[src]
impl From<WhoAmI> for Exop
[src]
Auto Trait Implementations
impl RefUnwindSafe for Exop
impl Send for Exop
impl Sync for Exop
impl Unpin for Exop
impl UnwindSafe for Exop
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,