pub enum EmbedNote {
NotConfigured,
DisabledOnDevice,
NoAvx2,
KeyMissing,
Invalid(String),
}Expand description
Why a bridge does not embed, or what it lacks while it does.
Variants§
NotConfigured
No slot is configured.
DisabledOnDevice
Every configured slot is switched off on this device.
NoAvx2
Only the local slot is configured, and auto turned it off: no AVX2.
KeyMissing
The remote slot is active without an API key (the call is still attempted).
Invalid(String)
The settings could not be read or are invalid.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EmbedNote
impl<'de> Deserialize<'de> for EmbedNote
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 EmbedNote
impl StructuralPartialEq for EmbedNote
Auto Trait Implementations§
impl Freeze for EmbedNote
impl RefUnwindSafe for EmbedNote
impl Send for EmbedNote
impl Sync for EmbedNote
impl Unpin for EmbedNote
impl UnsafeUnpin for EmbedNote
impl UnwindSafe for EmbedNote
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