pub struct Source {
pub urls: Arc<[Box<str>]>,
pub dest: Arc<Path>,
pub part: Option<Arc<Path>>,
}
Expand description
Information about a source being fetched.
Fields§
§urls: Arc<[Box<str>]>
URLs whereby the file can be found.
dest: Arc<Path>
Where the file shall ultimately be fetched to.
part: Option<Arc<Path>>
Where partial files should be stored.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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