pub struct WebSocketSyncEngineBuilder { /* private fields */ }Expand description
Builder for WebSocket sync engine
Implementations§
Source§impl WebSocketSyncEngineBuilder
impl WebSocketSyncEngineBuilder
pub fn new() -> Self
pub fn with_config(self, config: WebSocketIntegrationConfig) -> Self
pub fn with_replica_id(self, replica_id: ReplicaId) -> Self
pub fn with_url(self, url: String) -> Self
pub fn build(self, storage: Storage) -> WebSocketSyncEngine
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebSocketSyncEngineBuilder
impl RefUnwindSafe for WebSocketSyncEngineBuilder
impl Send for WebSocketSyncEngineBuilder
impl Sync for WebSocketSyncEngineBuilder
impl Unpin for WebSocketSyncEngineBuilder
impl UnsafeUnpin for WebSocketSyncEngineBuilder
impl UnwindSafe for WebSocketSyncEngineBuilder
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