pub enum SnapshotPolicy {
PullOnStart,
PullPeriodic,
Manual,
}Expand description
When the agent pulls an updated pattern snapshot from the daemon.
Variants§
Trait Implementations§
Source§impl Clone for SnapshotPolicy
impl Clone for SnapshotPolicy
Source§fn clone(&self) -> SnapshotPolicy
fn clone(&self) -> SnapshotPolicy
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 SnapshotPolicy
impl Debug for SnapshotPolicy
Source§impl Default for SnapshotPolicy
impl Default for SnapshotPolicy
Source§fn default() -> SnapshotPolicy
fn default() -> SnapshotPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnapshotPolicy
impl<'de> Deserialize<'de> for SnapshotPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SnapshotPolicy
impl PartialEq for SnapshotPolicy
Source§fn eq(&self, other: &SnapshotPolicy) -> bool
fn eq(&self, other: &SnapshotPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnapshotPolicy
impl Serialize for SnapshotPolicy
impl StructuralPartialEq for SnapshotPolicy
Auto Trait Implementations§
impl Freeze for SnapshotPolicy
impl RefUnwindSafe for SnapshotPolicy
impl Send for SnapshotPolicy
impl Sync for SnapshotPolicy
impl Unpin for SnapshotPolicy
impl UnsafeUnpin for SnapshotPolicy
impl UnwindSafe for SnapshotPolicy
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