Enum ResourceProviderDecision
#[non_exhaustive]pub enum ResourceProviderDecision {
PassThrough,
Handle,
}Expand description
Decision returned by a resource provider callback.
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.
PassThrough
Let native OnlineFileSource handle the request.
Handle
Keep ownership of the request handle and complete or release it later.
Trait Implementations§
§impl Clone for ResourceProviderDecision
impl Clone for ResourceProviderDecision
§fn clone(&self) -> ResourceProviderDecision
fn clone(&self) -> ResourceProviderDecision
Returns a duplicate 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 more§impl Debug for ResourceProviderDecision
impl Debug for ResourceProviderDecision
§impl Hash for ResourceProviderDecision
impl Hash for ResourceProviderDecision
§impl PartialEq for ResourceProviderDecision
impl PartialEq for ResourceProviderDecision
impl Copy for ResourceProviderDecision
impl Eq for ResourceProviderDecision
impl StructuralPartialEq for ResourceProviderDecision
Auto Trait Implementations§
impl Freeze for ResourceProviderDecision
impl RefUnwindSafe for ResourceProviderDecision
impl Send for ResourceProviderDecision
impl Sync for ResourceProviderDecision
impl Unpin for ResourceProviderDecision
impl UnsafeUnpin for ResourceProviderDecision
impl UnwindSafe for ResourceProviderDecision
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