Struct argdata::fd::ConvertFdFn
source · Expand description
Convert encoded fd numbers to Fds using the given function.
Tuple Fields
0: F
Trait Implementations
sourceimpl<F: Clone + Fn(u32) -> Result<Fd, InvalidFd>> Clone for ConvertFdFn<F>
impl<F: Clone + Fn(u32) -> Result<Fd, InvalidFd>> Clone for ConvertFdFn<F>
sourcefn clone(&self) -> ConvertFdFn<F>
fn clone(&self) -> ConvertFdFn<F>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<F: Copy + Fn(u32) -> Result<Fd, InvalidFd>> Copy for ConvertFdFn<F>
Auto Trait Implementations
impl<F> RefUnwindSafe for ConvertFdFn<F>where
F: RefUnwindSafe,
impl<F> Send for ConvertFdFn<F>where
F: Send,
impl<F> Sync for ConvertFdFn<F>where
F: Sync,
impl<F> Unpin for ConvertFdFn<F>where
F: Unpin,
impl<F> UnwindSafe for ConvertFdFn<F>where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more