pub enum UnloadStrategy {
ProcessExit,
OllamaKeepAliveZero,
LlamaCppRouterUnload,
VllmSleep,
None,
}Variants§
Trait Implementations§
Source§impl Clone for UnloadStrategy
impl Clone for UnloadStrategy
Source§fn clone(&self) -> UnloadStrategy
fn clone(&self) -> UnloadStrategy
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 moreSource§impl Debug for UnloadStrategy
impl Debug for UnloadStrategy
impl Eq for UnloadStrategy
Source§impl PartialEq for UnloadStrategy
impl PartialEq for UnloadStrategy
Source§impl Serialize for UnloadStrategy
impl Serialize for UnloadStrategy
impl StructuralPartialEq for UnloadStrategy
Auto Trait Implementations§
impl Freeze for UnloadStrategy
impl RefUnwindSafe for UnloadStrategy
impl Send for UnloadStrategy
impl Sync for UnloadStrategy
impl Unpin for UnloadStrategy
impl UnsafeUnpin for UnloadStrategy
impl UnwindSafe for UnloadStrategy
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