pub struct SidecarPath {
pub id: &'static str,
pub path: &'static str,
pub max_age_ms: Option<u64>,
pub writer: &'static str,
}Expand description
One registered state sidecar.
Fields§
§id: &'static str§path: &'static strThe default absolute path.
max_age_ms: Option<u64>The freshness window in milliseconds; None when mtime is not age.
writer: &'static strThe service that writes the file.
Implementations§
Trait Implementations§
Source§impl Clone for SidecarPath
impl Clone for SidecarPath
impl Copy for SidecarPath
Source§impl Debug for SidecarPath
impl Debug for SidecarPath
impl Eq for SidecarPath
Source§impl PartialEq for SidecarPath
impl PartialEq for SidecarPath
impl StructuralPartialEq for SidecarPath
Auto Trait Implementations§
impl Freeze for SidecarPath
impl RefUnwindSafe for SidecarPath
impl Send for SidecarPath
impl Sync for SidecarPath
impl Unpin for SidecarPath
impl UnsafeUnpin for SidecarPath
impl UnwindSafe for SidecarPath
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.