pub struct Assertion<S> {
pub filter: S,
}
Expand description
Assertion control (RFC 4528).
Fields§
§filter: S
String representation of the assertion filter.
Implementations§
Trait Implementations§
source§impl<S: AsRef<str>> From<Assertion<S>> for RawControl
impl<S: AsRef<str>> From<Assertion<S>> for RawControl
source§fn from(assn: Assertion<S>) -> RawControl
fn from(assn: Assertion<S>) -> RawControl
Converts to this type from the input type.
source§impl<S> MakeCritical for Assertion<S>
impl<S> MakeCritical for Assertion<S>
source§fn critical(self) -> CriticalControl<Self>where
Self: Sized,
fn critical(self) -> CriticalControl<Self>where Self: Sized,
Mark the control instance as critical. This operation consumes the control,
and is irreversible.
Auto Trait Implementations§
impl<S> RefUnwindSafe for Assertion<S>where S: RefUnwindSafe,
impl<S> Send for Assertion<S>where S: Send,
impl<S> Sync for Assertion<S>where S: Sync,
impl<S> Unpin for Assertion<S>where S: Unpin,
impl<S> UnwindSafe for Assertion<S>where S: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more