pub struct FeatureFlags {
pub supports_nested: bool,
pub supports_streaming: bool,
pub supports_delta: bool,
pub supports_llb: bool,
pub requires_checksums: bool,
pub requires_canonical: bool,
}Expand description
Feature flags for optional protocol features
Fields§
§supports_nested: boolSupport for nested structures (v0.5+)
supports_streaming: boolSupport for streaming frame layer
supports_delta: boolSupport for delta encoding
supports_llb: boolSupport for LLM optimization layer
requires_checksums: boolRequire checksums for data integrity
requires_canonical: boolRequire canonical field ordering
Implementations§
Source§impl FeatureFlags
impl FeatureFlags
Sourcepub fn v0_4_compatible() -> Self
pub fn v0_4_compatible() -> Self
Creates FeatureFlags with only v0.4 compatible features
Sourcepub fn intersect(&self, other: &FeatureFlags) -> FeatureFlags
pub fn intersect(&self, other: &FeatureFlags) -> FeatureFlags
Computes the intersection of two feature sets (agreed features)
Trait Implementations§
Source§impl Clone for FeatureFlags
impl Clone for FeatureFlags
Source§fn clone(&self) -> FeatureFlags
fn clone(&self) -> FeatureFlags
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 moreSource§impl Debug for FeatureFlags
impl Debug for FeatureFlags
Source§impl Default for FeatureFlags
impl Default for FeatureFlags
Source§impl PartialEq for FeatureFlags
impl PartialEq for FeatureFlags
impl Eq for FeatureFlags
impl StructuralPartialEq for FeatureFlags
Auto Trait Implementations§
impl Freeze for FeatureFlags
impl RefUnwindSafe for FeatureFlags
impl Send for FeatureFlags
impl Sync for FeatureFlags
impl Unpin for FeatureFlags
impl UnwindSafe for FeatureFlags
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> 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.