pub enum Snapshot {
Yes,
No,
Number(usize),
None,
}
Expand description
Enum representing the snapshot delivery preferences to be requested to Lightstreamer Server for the items in the Subscription.
Variants§
Yes
Request the full snapshot for the subscribed items.
No
Do not request any snapshot for the subscribed items.
Number(usize)
Request a snapshot with a specific length (number of updates).
None
Default value. No snapshot preference will be sent to the server.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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