#[repr(u32)]pub enum Control {
None = 0,
Poll = 1,
Explicit = 2,
}Expand description
Triton server control model modes.
Variants§
None = 0
The models in model repository will be loaded on startup.
After startup any changes to the model repository will be ignored.
Calling Server::poll_model_repository will result in an error.
Poll = 1
The models in model repository will be loaded on startup.
The model repository can be polled periodically using Server::poll_model_repository and the server will load,
unload, and updated models according to changes in the model repository.
Explicit = 2
The models in model repository will not be loaded on startup.
The corresponding model control APIs must be called to load / unload a model in the model repository.
Trait Implementations§
impl Copy for Control
impl Eq for Control
impl StructuralPartialEq for Control
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnwindSafe for Control
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