Struct x509_parser::validate::CallbackLogger
source · pub struct CallbackLogger<W, E>where
W: FnMut(&str),
E: FnMut(&str),{ /* private fields */ }
Available on crate feature
validate
only.Expand description
Simple Logger for Validator
trait, using closures for warn
/err
.
Implementations§
Trait Implementations§
source§impl<W, E> Debug for CallbackLogger<W, E>where
W: FnMut(&str) + Debug,
E: FnMut(&str) + Debug,
impl<W, E> Debug for CallbackLogger<W, E>where W: FnMut(&str) + Debug, E: FnMut(&str) + Debug,
Auto Trait Implementations§
impl<W, E> RefUnwindSafe for CallbackLogger<W, E>where E: RefUnwindSafe, W: RefUnwindSafe,
impl<W, E> Send for CallbackLogger<W, E>where E: Send, W: Send,
impl<W, E> Sync for CallbackLogger<W, E>where E: Sync, W: Sync,
impl<W, E> Unpin for CallbackLogger<W, E>where E: Unpin, W: Unpin,
impl<W, E> UnwindSafe for CallbackLogger<W, E>where E: UnwindSafe, W: UnwindSafe,
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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