#[non_exhaustive]pub enum Target<'a> {
Buffers(&'a [iovec]),
Files(&'a [RawFd]),
EventFd(RawFd),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Buffers(&'a [iovec])
Register buffer, then use the already registered buffer in ReadFixed and WriteFixed.
Files(&'a [RawFd])
Register file descriptor, then use the already registered fd in Target::Fixed.
EventFd(RawFd)
Register eventfd.
Auto Trait Implementations§
impl<'a> Freeze for Target<'a>
impl<'a> RefUnwindSafe for Target<'a>
impl<'a> !Send for Target<'a>
impl<'a> !Sync for Target<'a>
impl<'a> Unpin for Target<'a>
impl<'a> UnwindSafe for Target<'a>
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