pub struct SelectiveSyncConfig {
pub flags: u8,
pub max_regions: u16,
pub max_expression_len: u16,
}Available on crate feature
extensions only.Expand description
Selective sync configuration
Fields§
§flags: u8Feature flags
max_regions: u16Maximum concurrent subscriptions
max_expression_len: u16Maximum pattern length (if patterns supported)
Implementations§
Source§impl SelectiveSyncConfig
impl SelectiveSyncConfig
Sourcepub fn supports_regions(&self) -> bool
pub fn supports_regions(&self) -> bool
Check if region operations are supported
Sourcepub fn supports_patterns(&self) -> bool
pub fn supports_patterns(&self) -> bool
Check if pattern subscriptions are supported
Sourcepub fn supports_nested(&self) -> bool
pub fn supports_nested(&self) -> bool
Check if nested regions are supported
Sourcepub fn to_extension(&self) -> Extension
pub fn to_extension(&self) -> Extension
Encode to extension
Sourcepub fn from_extension(ext: &Extension) -> Option<Self>
pub fn from_extension(ext: &Extension) -> Option<Self>
Decode from extension
Trait Implementations§
Source§impl Clone for SelectiveSyncConfig
impl Clone for SelectiveSyncConfig
Source§fn clone(&self) -> SelectiveSyncConfig
fn clone(&self) -> SelectiveSyncConfig
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 SelectiveSyncConfig
impl Debug for SelectiveSyncConfig
Source§impl Default for SelectiveSyncConfig
impl Default for SelectiveSyncConfig
Source§impl PartialEq for SelectiveSyncConfig
impl PartialEq for SelectiveSyncConfig
impl Eq for SelectiveSyncConfig
impl StructuralPartialEq for SelectiveSyncConfig
Auto Trait Implementations§
impl Freeze for SelectiveSyncConfig
impl RefUnwindSafe for SelectiveSyncConfig
impl Send for SelectiveSyncConfig
impl Sync for SelectiveSyncConfig
impl Unpin for SelectiveSyncConfig
impl UnwindSafe for SelectiveSyncConfig
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