pub enum StageOpV1 {
Identity,
AddU8 {
delta: u8,
},
ResolverKey {
stage: String,
},
}Expand description
Minimal built-in stage operations.
Variants§
Identity
No-op.
AddU8
Add delta to every byte in the payload.
ResolverKey
Resolve a stage by its stable identity key.
This is the primary contract for real runtimes: a cold-path stage registry resolves this identity to a callable once at startup, then executors run a specialized hot loop.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StageOpV1
impl<'de> Deserialize<'de> for StageOpV1
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 StageOpV1
impl StructuralPartialEq for StageOpV1
Auto Trait Implementations§
impl Freeze for StageOpV1
impl RefUnwindSafe for StageOpV1
impl Send for StageOpV1
impl Sync for StageOpV1
impl Unpin for StageOpV1
impl UnwindSafe for StageOpV1
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