ltk_webkit/types/downloads.rs
// SPDX-License-Identifier: LGPL-2.1-only
// Copyright (C) 2026 Liberux Labs, S. L. <info@liberux.net>
use std::path::PathBuf;
pub type DownloadId = u64;
#[ derive( Debug, Clone ) ]
pub enum DownloadEvent
{
Started { id: DownloadId, uri: String, path: PathBuf },
Progress { id: DownloadId, fraction: f64 },
Finished { id: DownloadId },
Failed { id: DownloadId },
}