pub enum BackendOptions {
Dummy(DummyConfig),
Python(PythonConfig),
ComfyUi(ComfyConfig),
}Expand description
Runtime-internal backend configuration.
This enum is the canonical representation of backend configuration inside the runtime.
Loaders convert external configuration formats into this type. New backend kinds extend this enum.
Variants§
Trait Implementations§
Source§impl Clone for BackendOptions
impl Clone for BackendOptions
Source§impl Debug for BackendOptions
impl Debug for BackendOptions
Source§impl<'de> Deserialize<'de> for BackendOptions
impl<'de> Deserialize<'de> for BackendOptions
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 BackendOptions
Source§impl PartialEq for BackendOptions
impl PartialEq for BackendOptions
Source§impl Serialize for BackendOptions
impl Serialize for BackendOptions
impl StructuralPartialEq for BackendOptions
Auto Trait Implementations§
impl Freeze for BackendOptions
impl RefUnwindSafe for BackendOptions
impl Send for BackendOptions
impl Sync for BackendOptions
impl Unpin for BackendOptions
impl UnsafeUnpin for BackendOptions
impl UnwindSafe for BackendOptions
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.