pub struct Capability(pub u16);Expand description
One capability, identified by its bit position.
Tuple Fields§
§0: u16Implementations§
Source§impl Capability
impl Capability
Sourcepub const REQUIRE_RANGE: Self
pub const REQUIRE_RANGE: Self
The decoder pulls bytes of the source by asking for ranges, rather than being handed the whole thing up front. This is the normal mode and the reason the project exists.
Sourcepub const SLIDING_WINDOW: Self
pub const SLIDING_WINDOW: Self
The host can move a window over a source that is larger than the guest can address, so a 32-bit guest is not limited to four gigabytes of input.
Sourcepub const PROJECTION: Self
pub const PROJECTION: Self
The decoder honours a column projection instead of producing every column and letting the host throw most of them away.
Sourcepub const FILTER_PUSHDOWN: Self
pub const FILTER_PUSHDOWN: Self
The decoder honours a filter pushed down to it.
Sourcepub const RANDOM_ACCESS: Self
pub const RANDOM_ACCESS: Self
The decoder can start at an arbitrary row rather than only at the beginning.
Sourcepub const STATELESS: Self
pub const STATELESS: Self
The decoder keeps no state between calls, so the host is free to reuse one instance for unrelated scans or to run several scans against the same instance.
Trait Implementations§
Source§impl Clone for Capability
impl Clone for Capability
Source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more