pub struct MapIterOpts<'fd> {
pub fd: BorrowedFd<'fd>,
/* private fields */
}Expand description
Options used when iterating over a map.
Fields§
§fd: BorrowedFd<'fd>The file descriptor of the map.
Implementations§
Source§impl<'fd> MapIterOpts<'fd>
impl<'fd> MapIterOpts<'fd>
Sourcepub fn from_fd(fd: BorrowedFd<'fd>) -> Self
pub fn from_fd(fd: BorrowedFd<'fd>) -> Self
Create a MapIterOpts object using the given file descriptor.
Trait Implementations§
Source§impl<'fd> Clone for MapIterOpts<'fd>
impl<'fd> Clone for MapIterOpts<'fd>
Source§fn clone(&self) -> MapIterOpts<'fd>
fn clone(&self) -> MapIterOpts<'fd>
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 moreAuto Trait Implementations§
impl<'fd> Freeze for MapIterOpts<'fd>
impl<'fd> RefUnwindSafe for MapIterOpts<'fd>
impl<'fd> Send for MapIterOpts<'fd>
impl<'fd> Sync for MapIterOpts<'fd>
impl<'fd> Unpin for MapIterOpts<'fd>
impl<'fd> UnwindSafe for MapIterOpts<'fd>
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