pub struct WorkRequest {
pub id: u64,
pub operation: RdmaOperation,
pub local_addr: u64,
pub lkey: u32,
pub remote_addr: Option<u64>,
pub rkey: Option<u32>,
pub length: usize,
pub immediate: Option<u32>,
pub completion: Sender<RdmaResult<WorkCompletion>>,
}Expand description
RDMA work request
Fields§
§id: u64Unique identifier
operation: RdmaOperationOperation type
local_addr: u64Local memory region
lkey: u32Local memory key
remote_addr: Option<u64>Remote memory region (for RDMA operations)
rkey: Option<u32>Remote memory key (for RDMA operations)
length: usizeData length
immediate: Option<u32>Immediate data (for immediate operations)
completion: Sender<RdmaResult<WorkCompletion>>Completion notification channel
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkRequest
impl !RefUnwindSafe for WorkRequest
impl Send for WorkRequest
impl Sync for WorkRequest
impl Unpin for WorkRequest
impl UnsafeUnpin for WorkRequest
impl !UnwindSafe for WorkRequest
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more