pub enum NnrpServerEvent {
Show 24 variants
Submit(NnrpSubmit),
FrameCancel(NnrpCancel),
PartialResult {
metadata: PartialResultMetadata,
body: Vec<u8>,
},
Progress {
metadata: ProgressMetadata,
body: Vec<u8>,
},
ResultDropReason {
metadata: ResultDropReasonMetadata,
body: Vec<u8>,
},
Control(NnrpRuntimeControl),
Scheduling(NnrpSchedulingUpdate),
Supersede {
metadata: SupersedeMetadata,
body: Vec<u8>,
},
Budget(BudgetMetadata),
FlowUpdate(FlowUpdateMetadata),
Pressure(NnrpPressureUpdate),
Capability {
message_type: MessageType,
metadata: CapabilityMetadata,
body: Vec<u8>,
},
RouteHint {
message_type: MessageType,
metadata: RouteHintMetadata,
body: Vec<u8>,
},
TraceContext {
frame_id: u32,
metadata: TraceContextMetadata,
body: Vec<u8>,
},
RecoverableError {
metadata: RecoverableErrorMetadata,
body: Vec<u8>,
},
RetryAfter {
metadata: RetryAfterMetadata,
body: Vec<u8>,
},
ObjectDeclare {
metadata: ObjectDescriptorMetadata,
body: Vec<u8>,
},
ObjectRef {
metadata: ObjectReferenceMetadata,
body: Vec<u8>,
},
ObjectRelease {
metadata: ObjectReleaseMetadata,
body: Vec<u8>,
},
ObjectDelta {
message_type: MessageType,
metadata: ObjectDeltaMetadata,
body: Vec<u8>,
},
CacheReference {
metadata: CacheReferenceMetadata,
body: Vec<u8>,
},
CacheMiss {
metadata: CacheMissMetadata,
body: Vec<u8>,
},
CacheInvalidate(CacheInvalidateMetadata),
Close(SessionCloseMetadata),
}Variants§
Submit(NnrpSubmit)
FrameCancel(NnrpCancel)
PartialResult
Progress
ResultDropReason
Control(NnrpRuntimeControl)
Scheduling(NnrpSchedulingUpdate)
Supersede
Budget(BudgetMetadata)
FlowUpdate(FlowUpdateMetadata)
Pressure(NnrpPressureUpdate)
Capability
RouteHint
TraceContext
RecoverableError
RetryAfter
ObjectDeclare
ObjectRef
ObjectRelease
ObjectDelta
CacheReference
CacheMiss
CacheInvalidate(CacheInvalidateMetadata)
Close(SessionCloseMetadata)
Trait Implementations§
Source§impl Clone for NnrpServerEvent
impl Clone for NnrpServerEvent
Source§fn clone(&self) -> NnrpServerEvent
fn clone(&self) -> NnrpServerEvent
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 NnrpServerEvent
impl Debug for NnrpServerEvent
impl Eq for NnrpServerEvent
Source§impl PartialEq for NnrpServerEvent
impl PartialEq for NnrpServerEvent
impl StructuralPartialEq for NnrpServerEvent
Auto Trait Implementations§
impl Freeze for NnrpServerEvent
impl RefUnwindSafe for NnrpServerEvent
impl Send for NnrpServerEvent
impl Sync for NnrpServerEvent
impl Unpin for NnrpServerEvent
impl UnsafeUnpin for NnrpServerEvent
impl UnwindSafe for NnrpServerEvent
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