[−][src]Enum watchman_client::pdu::SyncTimeout
Variants
Use the default cookie synchronization timeout
Disable the use of a sync cookie. This can save ~15ms of latency, but may result in results from an outdated view of the filesystem. It is safe to use after you have performed a synchronized query or clock call, so that you can guarantee that the server is at least as current as the time that you started your processing.
Duration(Duration)
Specify a timeout for the sync cookie. You should not need to override the default value in most cases. Note that the server has millisecond level granularity for the timeout.
Trait Implementations
impl Clone for SyncTimeout
[src]
fn clone(&self) -> SyncTimeout
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SyncTimeout
[src]
impl Default for SyncTimeout
[src]
impl From<Duration> for SyncTimeout
[src]
impl Into<i64> for SyncTimeout
[src]
impl Serialize for SyncTimeout
[src]
Auto Trait Implementations
impl RefUnwindSafe for SyncTimeout
[src]
impl Send for SyncTimeout
[src]
impl Sync for SyncTimeout
[src]
impl Unpin for SyncTimeout
[src]
impl UnwindSafe for SyncTimeout
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,