#[non_exhaustive]#[repr(u32)]pub enum cef_urlrequest_flags_t {
UR_FLAG_NONE = 0,
UR_FLAG_SKIP_CACHE = 1,
UR_FLAG_ONLY_FROM_CACHE = 2,
UR_FLAG_DISABLE_CACHE = 4,
UR_FLAG_ALLOW_STORED_CREDENTIALS = 8,
UR_FLAG_REPORT_UPLOAD_PROGRESS = 16,
UR_FLAG_NO_DOWNLOAD_DATA = 32,
UR_FLAG_NO_RETRY_ON_5XX = 64,
UR_FLAG_STOP_ON_REDIRECT = 128,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UR_FLAG_NONE = 0
UR_FLAG_SKIP_CACHE = 1
UR_FLAG_ONLY_FROM_CACHE = 2
UR_FLAG_DISABLE_CACHE = 4
UR_FLAG_ALLOW_STORED_CREDENTIALS = 8
UR_FLAG_REPORT_UPLOAD_PROGRESS = 16
UR_FLAG_NO_DOWNLOAD_DATA = 32
UR_FLAG_NO_RETRY_ON_5XX = 64
UR_FLAG_STOP_ON_REDIRECT = 128
Trait Implementations§
Source§impl Clone for cef_urlrequest_flags_t
impl Clone for cef_urlrequest_flags_t
Source§fn clone(&self) -> cef_urlrequest_flags_t
fn clone(&self) -> cef_urlrequest_flags_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for cef_urlrequest_flags_t
impl Debug for cef_urlrequest_flags_t
Source§impl Hash for cef_urlrequest_flags_t
impl Hash for cef_urlrequest_flags_t
Source§impl PartialEq for cef_urlrequest_flags_t
impl PartialEq for cef_urlrequest_flags_t
impl Copy for cef_urlrequest_flags_t
impl Eq for cef_urlrequest_flags_t
impl StructuralPartialEq for cef_urlrequest_flags_t
Auto Trait Implementations§
impl Freeze for cef_urlrequest_flags_t
impl RefUnwindSafe for cef_urlrequest_flags_t
impl Send for cef_urlrequest_flags_t
impl Sync for cef_urlrequest_flags_t
impl Unpin for cef_urlrequest_flags_t
impl UnwindSafe for cef_urlrequest_flags_t
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