Struct matrix_sdk::SyncSettings [−][src]
pub struct SyncSettings<'a> { /* fields omitted */ }
Expand description
Settings for a sync call.
Implementations
Set the maximum time the server can wait, in milliseconds, before responding to the sync request.
Arguments
timeout
- The time the server is allowed to wait.
Set the sync filter. It can be either the filter ID, or the definition for the filter.
Arguments
filter
- The filter configuration that should be used for the sync call.
Should the server return the full state from the start of the timeline.
This does nothing if no sync token is set.
Arguments
full_state
- A boolean deciding if the server should return the full state or not.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for SyncSettings<'a>
impl<'a> Send for SyncSettings<'a>
impl<'a> Sync for SyncSettings<'a>
impl<'a> Unpin for SyncSettings<'a>
impl<'a> UnwindSafe for SyncSettings<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more