pub enum ServingFsmError {
IllegalTransition {
attempted: &'static str,
},
}Variants§
IllegalTransition
A transition was invoked on a variant it does not apply to (for
example, ServingState::advance_decode called on Prefill).
Trait Implementations§
Source§impl Debug for ServingFsmError
impl Debug for ServingFsmError
Source§impl Display for ServingFsmError
impl Display for ServingFsmError
impl Eq for ServingFsmError
Source§impl Error for ServingFsmError
impl Error for ServingFsmError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ServingFsmError
impl PartialEq for ServingFsmError
impl StructuralPartialEq for ServingFsmError
Auto Trait Implementations§
impl Freeze for ServingFsmError
impl RefUnwindSafe for ServingFsmError
impl Send for ServingFsmError
impl Sync for ServingFsmError
impl Unpin for ServingFsmError
impl UnsafeUnpin for ServingFsmError
impl UnwindSafe for ServingFsmError
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