pub struct SourceCaps {
pub ack: bool,
pub seek: bool,
pub parallel: bool,
}Expand description
Capability flags for data sources.
Used to advertise what optional features a source supports.
Fields§
§ack: boolWhether the source supports acknowledgment (commit) of consumed messages
seek: boolWhether the source supports seeking to arbitrary positions
parallel: boolWhether the source supports parallel consumption
Trait Implementations§
Source§impl Clone for SourceCaps
impl Clone for SourceCaps
Source§fn clone(&self) -> SourceCaps
fn clone(&self) -> SourceCaps
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 SourceCaps
impl Debug for SourceCaps
Source§impl Default for SourceCaps
impl Default for SourceCaps
Source§fn default() -> SourceCaps
fn default() -> SourceCaps
Returns the “default value” for a type. Read more
impl Copy for SourceCaps
Auto Trait Implementations§
impl Freeze for SourceCaps
impl RefUnwindSafe for SourceCaps
impl Send for SourceCaps
impl Sync for SourceCaps
impl Unpin for SourceCaps
impl UnwindSafe for SourceCaps
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