pub struct InventoryOptions {
pub batch_size: u32,
pub max_entries: Option<u64>,
}Expand description
Options controlling one bounded namespace inventory.
Fields§
§batch_size: u32Maximum number of native entries requested per browse operation.
max_entries: Option<u64>Optional safety cap for a deliberately bounded inventory.
Trait Implementations§
Source§impl Clone for InventoryOptions
impl Clone for InventoryOptions
Source§fn clone(&self) -> InventoryOptions
fn clone(&self) -> InventoryOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InventoryOptions
Source§impl Debug for InventoryOptions
impl Debug for InventoryOptions
Source§impl Default for InventoryOptions
impl Default for InventoryOptions
impl Eq for InventoryOptions
Source§impl PartialEq for InventoryOptions
impl PartialEq for InventoryOptions
impl StructuralPartialEq for InventoryOptions
Auto Trait Implementations§
impl Freeze for InventoryOptions
impl RefUnwindSafe for InventoryOptions
impl Send for InventoryOptions
impl Sync for InventoryOptions
impl Unpin for InventoryOptions
impl UnsafeUnpin for InventoryOptions
impl UnwindSafe for InventoryOptions
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