#[non_exhaustive]pub enum DataAccess {
Client,
Server,
DataView,
}Expand description
How a list gets its records.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Client
All of them at once, kept in memory, so grouping and every search work on the spot.
Server
As they are needed, a chunk at a time, for lists too long to read at once.
DataView
All of them at once, but only what the columns show, and with no editing on the list.
Implementations§
Trait Implementations§
Source§impl Clone for DataAccess
impl Clone for DataAccess
Source§fn clone(&self) -> DataAccess
fn clone(&self) -> DataAccess
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DataAccess
Source§impl Debug for DataAccess
impl Debug for DataAccess
Source§impl Default for DataAccess
impl Default for DataAccess
Source§fn default() -> DataAccess
fn default() -> DataAccess
Returns the “default value” for a type. Read more
impl Eq for DataAccess
Source§impl PartialEq for DataAccess
impl PartialEq for DataAccess
impl StructuralPartialEq for DataAccess
Auto Trait Implementations§
impl Freeze for DataAccess
impl RefUnwindSafe for DataAccess
impl Send for DataAccess
impl Sync for DataAccess
impl Unpin for DataAccess
impl UnsafeUnpin for DataAccess
impl UnwindSafe for DataAccess
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