#[non_exhaustive]pub enum ProxyKind {
Default,
MediaAsset,
Custom(String),
}Expand description
Logical proxy configuration bucket.
use millipede_core::proxy::ProxyKind;
assert_eq!(ProxyKind::default(), ProxyKind::Default);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.
Default
General-purpose proxy configuration.
MediaAsset
Proxy configuration specialized for media assets.
Custom(String)
User-named proxy configuration.
Trait Implementations§
impl Eq for ProxyKind
impl StructuralPartialEq for ProxyKind
Auto Trait Implementations§
impl Freeze for ProxyKind
impl RefUnwindSafe for ProxyKind
impl Send for ProxyKind
impl Sync for ProxyKind
impl Unpin for ProxyKind
impl UnsafeUnpin for ProxyKind
impl UnwindSafe for ProxyKind
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