pub struct DataSource { /* private fields */ }Expand description
Origin of a snapshot so it can be updated
Implementations§
Trait Implementations§
Source§impl Clone for DataSource
impl Clone for DataSource
Source§fn clone(&self) -> DataSource
fn clone(&self) -> DataSource
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 moreSource§impl Debug for DataSource
impl Debug for DataSource
Source§impl Display for DataSource
impl Display for DataSource
Source§impl From<&Path> for DataSource
impl From<&Path> for DataSource
Source§fn from(value: &Path) -> DataSource
fn from(value: &Path) -> DataSource
Converts to this type from the input type.
Source§impl From<Inline> for DataSource
impl From<Inline> for DataSource
Source§fn from(inline: Inline) -> DataSource
fn from(inline: Inline) -> DataSource
Converts to this type from the input type.
Source§impl From<PathBuf> for DataSource
impl From<PathBuf> for DataSource
Source§fn from(value: PathBuf) -> DataSource
fn from(value: PathBuf) -> DataSource
Converts to this type from the input type.
Source§impl PartialEq for DataSource
impl PartialEq for DataSource
Source§fn eq(&self, other: &DataSource) -> bool
fn eq(&self, other: &DataSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DataSource
impl StructuralPartialEq for DataSource
Auto Trait Implementations§
impl Freeze for DataSource
impl RefUnwindSafe for DataSource
impl Send for DataSource
impl Sync for DataSource
impl Unpin for DataSource
impl UnsafeUnpin for DataSource
impl UnwindSafe for DataSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more