#[non_exhaustive]pub enum ResourceKind {
FinderSnapshotSources,
FinderSnapshotBytes,
FinderDiscoverySources,
FinderDiscoveryBytes,
DiscoveryServerCopyBytes,
}Expand description
The resource budget exhausted by a discovery operation.
Each variant specifies both the scope and the unit of the limit field in
Error::ResourceLimit. Byte budgets cover native data inspected and owned
storage retained, as documented by the operation. Match this value rather
than diagnostic text; additional budgets may be introduced in 3.x.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
FinderSnapshotSources
Source descriptors in one plain or Advanced Finder snapshot; the limit is a number of sources.
FinderSnapshotBytes
Aggregate bytes scanned or copied for one plain or Advanced Finder snapshot; the limit is in bytes.
FinderDiscoverySources
Distinct sources retained over one Finder discovery window; the limit is a number of sources.
FinderDiscoveryBytes
Aggregate owned storage retained over one Finder discovery window; the limit is in bytes.
DiscoveryServerCopyBytes
Aggregate bytes scanned or copied for one Discovery Server snapshot or event batch, including nested arrays and strings; the limit is in bytes.
Trait Implementations§
Source§impl Clone for ResourceKind
impl Clone for ResourceKind
impl Copy for ResourceKind
Source§impl Debug for ResourceKind
impl Debug for ResourceKind
Source§impl Display for ResourceKind
impl Display for ResourceKind
impl Eq for ResourceKind
Source§impl Error for ResourceKind
impl Error for ResourceKind
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()