pub enum WalkMode {
Auto,
GetNext,
GetBulk,
}Expand description
Walk operation mode.
Variants§
Auto
Auto-select based on version (default). V1 uses GETNEXT, V2c/V3 uses GETBULK.
GetNext
Always use GETNEXT (slower but more compatible).
GetBulk
Always use GETBULK (faster, errors on v1).
Trait Implementations§
impl Copy for WalkMode
impl Eq for WalkMode
impl StructuralPartialEq for WalkMode
Auto Trait Implementations§
impl Freeze for WalkMode
impl RefUnwindSafe for WalkMode
impl Send for WalkMode
impl Sync for WalkMode
impl Unpin for WalkMode
impl UnwindSafe for WalkMode
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