#[non_exhaustive]pub enum LoadingProtocol {
Model,
Realtime,
}Expand description
Backend-neutral loader contract required by an inspected artifact.
Architecture registries select this protocol while resolving family identity. Core uses it to route preparation without knowing any concrete model family.
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.
Model
Ordinary whole-model preparation followed by a model session.
Realtime
Realtime multi-stream preparation followed by a realtime session.
Trait Implementations§
Source§impl Clone for LoadingProtocol
impl Clone for LoadingProtocol
Source§fn clone(&self) -> LoadingProtocol
fn clone(&self) -> LoadingProtocol
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 LoadingProtocol
Source§impl Debug for LoadingProtocol
impl Debug for LoadingProtocol
Source§impl<'de> Deserialize<'de> for LoadingProtocol
impl<'de> Deserialize<'de> for LoadingProtocol
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LoadingProtocol
Source§impl Hash for LoadingProtocol
impl Hash for LoadingProtocol
Source§impl PartialEq for LoadingProtocol
impl PartialEq for LoadingProtocol
Source§impl Serialize for LoadingProtocol
impl Serialize for LoadingProtocol
impl StructuralPartialEq for LoadingProtocol
Auto Trait Implementations§
impl Freeze for LoadingProtocol
impl RefUnwindSafe for LoadingProtocol
impl Send for LoadingProtocol
impl Sync for LoadingProtocol
impl Unpin for LoadingProtocol
impl UnsafeUnpin for LoadingProtocol
impl UnwindSafe for LoadingProtocol
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