Skip to main content

KernelRequest

Trait KernelRequest 

Source
pub trait KernelRequest:
    RingMessage
    + Send
    + Sync {
    // Required methods
    fn correlation_id(&self) -> CorrelationId;
    fn set_correlation_id(&mut self, id: CorrelationId);
}
Expand description

Base trait for kernel request messages.

Required Methods§

Source

fn correlation_id(&self) -> CorrelationId

Get the correlation ID for this request.

Source

fn set_correlation_id(&mut self, id: CorrelationId)

Set the correlation ID.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§