pub struct RuntimeLoaderBuilder { /* private fields */ }Implementations§
Source§impl RuntimeLoaderBuilder
impl RuntimeLoaderBuilder
pub fn new() -> Self
pub fn cache_dir(self, path: PathBuf) -> Self
pub fn cdn_sources(self, sources: Vec<CdnSource>) -> Self
pub fn max_retries(self, retries: u32) -> Self
pub fn initial_backoff_ms(self, ms: u64) -> Self
pub fn max_backoff_ms(self, ms: u64) -> Self
pub fn build(self) -> Result<RuntimeLoader>
Trait Implementations§
Source§impl Default for RuntimeLoaderBuilder
impl Default for RuntimeLoaderBuilder
Source§fn default() -> RuntimeLoaderBuilder
fn default() -> RuntimeLoaderBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuntimeLoaderBuilder
impl RefUnwindSafe for RuntimeLoaderBuilder
impl Send for RuntimeLoaderBuilder
impl Sync for RuntimeLoaderBuilder
impl Unpin for RuntimeLoaderBuilder
impl UnsafeUnpin for RuntimeLoaderBuilder
impl UnwindSafe for RuntimeLoaderBuilder
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