pub enum ResourceLoadingMethod {
All,
CacheOnly,
NetworkOnly,
Unknown(u32),
}Expand description
Where a request may load its resource from.
See mln_resource_loading_method in the
C API reference.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ResourceLoadingMethod
impl Clone for ResourceLoadingMethod
Source§fn clone(&self) -> ResourceLoadingMethod
fn clone(&self) -> ResourceLoadingMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResourceLoadingMethod
Source§impl Debug for ResourceLoadingMethod
impl Debug for ResourceLoadingMethod
Source§impl Default for ResourceLoadingMethod
impl Default for ResourceLoadingMethod
impl Eq for ResourceLoadingMethod
Source§impl Hash for ResourceLoadingMethod
impl Hash for ResourceLoadingMethod
Source§impl PartialEq for ResourceLoadingMethod
impl PartialEq for ResourceLoadingMethod
impl StructuralPartialEq for ResourceLoadingMethod
Auto Trait Implementations§
impl Freeze for ResourceLoadingMethod
impl RefUnwindSafe for ResourceLoadingMethod
impl Send for ResourceLoadingMethod
impl Sync for ResourceLoadingMethod
impl Unpin for ResourceLoadingMethod
impl UnsafeUnpin for ResourceLoadingMethod
impl UnwindSafe for ResourceLoadingMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more