pub struct WorkCompletion { /* private fields */ }Expand description
A work completion entry.
Thin wrapper around ibv_wc with typed accessors.
Implementations§
Source§impl WorkCompletion
impl WorkCompletion
Sourcepub fn status_raw(&self) -> u32
pub fn status_raw(&self) -> u32
Raw status value.
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Whether this completion is successful.
Sourcepub fn vendor_err(&self) -> u32
pub fn vendor_err(&self) -> u32
Vendor-specific error code.
Trait Implementations§
Source§impl Clone for WorkCompletion
impl Clone for WorkCompletion
Source§fn clone(&self) -> WorkCompletion
fn clone(&self) -> WorkCompletion
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkCompletion
impl Debug for WorkCompletion
Source§impl Default for WorkCompletion
impl Default for WorkCompletion
Source§fn default() -> WorkCompletion
fn default() -> WorkCompletion
Returns the “default value” for a type. Read more
impl Copy for WorkCompletion
Auto Trait Implementations§
impl Freeze for WorkCompletion
impl RefUnwindSafe for WorkCompletion
impl Send for WorkCompletion
impl Sync for WorkCompletion
impl Unpin for WorkCompletion
impl UnsafeUnpin for WorkCompletion
impl UnwindSafe for WorkCompletion
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