Struct mls_rs::identity::x509::NoOpWarningProvider
source · pub struct NoOpWarningProvider;Expand description
A warning provider that never produces a warning.
Implementations§
source§impl NoOpWarningProvider
impl NoOpWarningProvider
sourcepub fn new() -> NoOpWarningProvider
pub fn new() -> NoOpWarningProvider
Create a new no-op warning provider.
Trait Implementations§
source§impl Clone for NoOpWarningProvider
impl Clone for NoOpWarningProvider
source§fn clone(&self) -> NoOpWarningProvider
fn clone(&self) -> NoOpWarningProvider
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for NoOpWarningProvider
impl Debug for NoOpWarningProvider
source§impl Default for NoOpWarningProvider
impl Default for NoOpWarningProvider
source§fn default() -> NoOpWarningProvider
fn default() -> NoOpWarningProvider
Returns the “default value” for a type. Read more
source§impl X509WarningProvider for NoOpWarningProvider
impl X509WarningProvider for NoOpWarningProvider
type Error = Infallible
source§fn identity_warnings(
&self,
_update: &RosterUpdate
) -> Result<Vec<IdentityWarning>, <NoOpWarningProvider as X509WarningProvider>::Error>
fn identity_warnings( &self, _update: &RosterUpdate ) -> Result<Vec<IdentityWarning>, <NoOpWarningProvider as X509WarningProvider>::Error>
Produce any custom warnings that are created due to a
RosterUpdateimpl Copy for NoOpWarningProvider
Auto Trait Implementations§
impl RefUnwindSafe for NoOpWarningProvider
impl Send for NoOpWarningProvider
impl Sync for NoOpWarningProvider
impl Unpin for NoOpWarningProvider
impl UnwindSafe for NoOpWarningProvider
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