#[repr(C)]pub struct PollVec {
pub ready: bool,
pub _pad: [u8; 3],
pub len: u32,
}Expand description
Indicates if a future that outputs a Vec<T> has been completed.
Should be an enum, but the ffi macros don’t support that
Fields§
§ready: bool§_pad: [u8; 3]§len: u32The length of the output vector.
Trait Implementations§
Source§impl CheckedBitPattern for PollVec
impl CheckedBitPattern for PollVec
Source§type Bits = PollVecBits
type Bits = PollVecBits
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(bits: &PollVecBits) -> bool
fn is_valid_bit_pattern(bits: &PollVecBits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.impl Copy for PollVec
impl NoUninit for PollVec
Auto Trait Implementations§
impl Freeze for PollVec
impl RefUnwindSafe for PollVec
impl Send for PollVec
impl Sync for PollVec
impl Unpin for PollVec
impl UnwindSafe for PollVec
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