pub enum Source<D> {
Config(D),
Url(Url),
}Available on crate features
ssh or tls only.Variants§
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for Source<D>where
D: Freeze,
impl<D> RefUnwindSafe for Source<D>where
D: RefUnwindSafe,
impl<D> Send for Source<D>where
D: Send,
impl<D> Sync for Source<D>where
D: Sync,
impl<D> Unpin for Source<D>where
D: Unpin,
impl<D> UnwindSafe for Source<D>where
D: 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