pub struct ValidationContextBuilder<C> { /* private fields */ }Expand description
Builder for ValidationContext with custom context type
Implementations§
Source§impl<C: Any + Send + Sync> ValidationContextBuilder<C>
impl<C: Any + Send + Sync> ValidationContextBuilder<C>
Sourcepub fn build(self) -> ValidationContext
pub fn build(self) -> ValidationContext
Build the context
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for ValidationContextBuilder<C>where
C: Freeze,
impl<C> !RefUnwindSafe for ValidationContextBuilder<C>
impl<C> Send for ValidationContextBuilder<C>where
C: Send,
impl<C> Sync for ValidationContextBuilder<C>where
C: Sync,
impl<C> Unpin for ValidationContextBuilder<C>where
C: Unpin,
impl<C> !UnwindSafe for ValidationContextBuilder<C>
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