#[repr(i32)]pub enum WireMessageKind {
Show 19 variants
PrefillEmbd = 1,
DecodeEmbd = 2,
Stop = 3,
PrefillFinalEmbd = 4,
DecodeReplayEmbd = 5,
DecodeReplayFinalEmbd = 6,
StateImport = 7,
DecodeReadout = 8,
DecodeLightCtx = 9,
VerifyWindow = 21,
RetireVerifyWindow = 22,
StateExport = 13,
ConfigureGeneration = 14,
ProbePrefill = 15,
RestorePrefill = 16,
TryRestorePrefill = 17,
TryRestorePrefillDecode = 18,
TrimSession = 19,
PredictionReturnOpen = 20,
}Variants§
PrefillEmbd = 1
DecodeEmbd = 2
Stop = 3
PrefillFinalEmbd = 4
DecodeReplayEmbd = 5
DecodeReplayFinalEmbd = 6
StateImport = 7
DecodeReadout = 8
DecodeLightCtx = 9
VerifyWindow = 21
RetireVerifyWindow = 22
StateExport = 13
ConfigureGeneration = 14
ProbePrefill = 15
RestorePrefill = 16
TryRestorePrefill = 17
TryRestorePrefillDecode = 18
TrimSession = 19
PredictionReturnOpen = 20
Implementations§
Source§impl WireMessageKind
impl WireMessageKind
pub fn is_prefill(self) -> bool
pub fn is_decode_replay(self) -> bool
pub fn is_decode_light_context(self) -> bool
pub fn requires_predicted_reply(self) -> bool
pub fn is_session_control(self) -> bool
pub fn is_verify_retirement(self) -> bool
pub fn is_generation_control(self) -> bool
pub fn is_prefix_cache_control(self) -> bool
pub fn is_activationless_prefix_cache_control(self) -> bool
Trait Implementations§
Source§impl Clone for WireMessageKind
impl Clone for WireMessageKind
Source§fn clone(&self) -> WireMessageKind
fn clone(&self) -> WireMessageKind
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 WireMessageKind
Source§impl Debug for WireMessageKind
impl Debug for WireMessageKind
impl Eq for WireMessageKind
Source§impl PartialEq for WireMessageKind
impl PartialEq for WireMessageKind
impl StructuralPartialEq for WireMessageKind
Auto Trait Implementations§
impl Freeze for WireMessageKind
impl RefUnwindSafe for WireMessageKind
impl Send for WireMessageKind
impl Sync for WireMessageKind
impl Unpin for WireMessageKind
impl UnsafeUnpin for WireMessageKind
impl UnwindSafe for WireMessageKind
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