pub enum RetrievalGranularity {
Metadata,
Record,
BulkContent,
}Expand description
Granularity of what a READ retrieves — orthogonal to scale (which counts items) and
secret (which flags credentials). Distinguishes a metadata/descriptor read from the
retrieval of opaque STORED CONTENT the classifier cannot assess. bulk-content is a
stored blob (an S3 object, an EBS block, a Glacier archive) — routinely a secrets file,
private key, or DB dump, but unknowable statically — so it earns a proportionate tier
(network-admin: elevated remote egress) WITHOUT being conflated with a credential read
(secret = reads → yolo). record is structured data you asked for (query results, a
db dump); metadata is a descriptor (describe/list/get-config). See
docs/design/behavioral-taxonomy-archetypes.md §5 (#1).
Variants§
Trait Implementations§
Source§impl Clone for RetrievalGranularity
impl Clone for RetrievalGranularity
Source§fn clone(&self) -> RetrievalGranularity
fn clone(&self) -> RetrievalGranularity
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 RetrievalGranularity
Source§impl Debug for RetrievalGranularity
impl Debug for RetrievalGranularity
Source§impl Default for RetrievalGranularity
impl Default for RetrievalGranularity
Source§fn default() -> RetrievalGranularity
fn default() -> RetrievalGranularity
Returns the “default value” for a type. Read more
impl Eq for RetrievalGranularity
Source§impl FacetTerm for RetrievalGranularity
impl FacetTerm for RetrievalGranularity
Source§impl Hash for RetrievalGranularity
impl Hash for RetrievalGranularity
Source§impl Ord for RetrievalGranularity
impl Ord for RetrievalGranularity
Source§fn cmp(&self, other: &RetrievalGranularity) -> Ordering
fn cmp(&self, other: &RetrievalGranularity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RetrievalGranularity
impl PartialEq for RetrievalGranularity
Source§impl PartialOrd for RetrievalGranularity
impl PartialOrd for RetrievalGranularity
impl StructuralPartialEq for RetrievalGranularity
Auto Trait Implementations§
impl Freeze for RetrievalGranularity
impl RefUnwindSafe for RetrievalGranularity
impl Send for RetrievalGranularity
impl Sync for RetrievalGranularity
impl Unpin for RetrievalGranularity
impl UnsafeUnpin for RetrievalGranularity
impl UnwindSafe for RetrievalGranularity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.