pub struct CefVersion {
pub channel: Channel,
pub cef_version: String,
pub files: Vec<CefFile>,
}Fields§
§channel: Channel§cef_version: String§files: Vec<CefFile>Implementations§
Source§impl CefVersion
impl CefVersion
pub fn download_archive<P>( &self, location: P, show_progress: bool, ) -> Result<PathBuf>
pub fn download_archive_from<P>( &self, url: &str, location: P, show_progress: bool, ) -> Result<PathBuf>
pub fn download_archive_with_retry<P>( &self, location: P, show_progress: bool, retry_delay: Duration, max_retries: u32, ) -> Result<PathBuf>
pub fn download_archive_with_retry_from<P>( &self, url: &str, location: P, show_progress: bool, retry_delay: Duration, max_retries: u32, ) -> Result<PathBuf>
pub fn minimal(&self) -> Result<&CefFile>
pub fn write_archive_json<P>(&self, location: P) -> Result<()>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CefVersion
impl<'de> Deserialize<'de> for CefVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CefVersion
impl RefUnwindSafe for CefVersion
impl Send for CefVersion
impl Sync for CefVersion
impl Unpin for CefVersion
impl UnsafeUnpin for CefVersion
impl UnwindSafe for CefVersion
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