pub enum SglangSchedulePolicy {
Fifo,
Lpm,
}Expand description
SGLang waiting-queue ordering.
Variants§
Trait Implementations§
Source§impl Clone for SglangSchedulePolicy
impl Clone for SglangSchedulePolicy
Source§fn clone(&self) -> SglangSchedulePolicy
fn clone(&self) -> SglangSchedulePolicy
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 moreimpl Copy for SglangSchedulePolicy
Source§impl Debug for SglangSchedulePolicy
impl Debug for SglangSchedulePolicy
Source§impl Default for SglangSchedulePolicy
impl Default for SglangSchedulePolicy
Source§fn default() -> SglangSchedulePolicy
fn default() -> SglangSchedulePolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SglangSchedulePolicy
impl<'de> Deserialize<'de> for SglangSchedulePolicy
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 SglangSchedulePolicy
Source§impl PartialEq for SglangSchedulePolicy
impl PartialEq for SglangSchedulePolicy
Source§impl Serialize for SglangSchedulePolicy
impl Serialize for SglangSchedulePolicy
impl StructuralPartialEq for SglangSchedulePolicy
Auto Trait Implementations§
impl Freeze for SglangSchedulePolicy
impl RefUnwindSafe for SglangSchedulePolicy
impl Send for SglangSchedulePolicy
impl Sync for SglangSchedulePolicy
impl Unpin for SglangSchedulePolicy
impl UnsafeUnpin for SglangSchedulePolicy
impl UnwindSafe for SglangSchedulePolicy
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