Trait ldap3::controls::MakeCritical [] [src]

pub trait MakeCritical {
    fn critical(self) -> CriticalControl<Self>
    where
        Self: Sized
, { ... } }

Mark a control as critical.

Most controls provided by this library implements this trait. All controls are instantiated as non-critical by default, unless dictated otherwise by their specification.

Provided Methods

Mark the control instance as critical. This operation consumes the control, and is irreversible.

Implementors