pub struct OpenOpts {
pub sync: bool,
pub subscribe: Option<Sender<Event>>,
}
Expand description
Options when opening a replica.
Fields§
§sync: bool
Set to true to set sync state to true.
subscribe: Option<Sender<Event>>
Optionally subscribe to replica events.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenOpts
impl RefUnwindSafe for OpenOpts
impl Send for OpenOpts
impl Sync for OpenOpts
impl Unpin for OpenOpts
impl UnwindSafe for OpenOpts
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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