pub struct ConstantProvider<S: Scheme, Sc = ()> { /* private fields */ }Expand description
A scheme provider that always returns the same scheme regardless of scope.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S, Sc> Freeze for ConstantProvider<S, Sc>
impl<S, Sc> RefUnwindSafe for ConstantProvider<S, Sc>
impl<S, Sc> Send for ConstantProvider<S, Sc>
impl<S, Sc> Sync for ConstantProvider<S, Sc>
impl<S, Sc> Unpin for ConstantProvider<S, Sc>
impl<S, Sc> UnsafeUnpin for ConstantProvider<S, Sc>
impl<S, Sc> UnwindSafe for ConstantProvider<S, Sc>
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