pub struct ChannelRefsSource {
pub artifact_url: String,
pub signature_url: String,
pub token_file: Option<PathBuf>,
pub trust_path: PathBuf,
pub freshness_window: Duration,
}Expand description
Forge URLs + trust path the manifest-poll worker reads on every tick.
CLI builds this from --channel-refs-{artifact,signature}-url,
--channel-refs-token-file, --trust-file, --freshness-window-secs.
Token + trust files are re-read on every poll so rotation propagates without restart.
Fields§
§artifact_url: String§signature_url: String§token_file: Option<PathBuf>§trust_path: PathBuf§freshness_window: DurationTrait Implementations§
Source§impl Clone for ChannelRefsSource
impl Clone for ChannelRefsSource
Source§fn clone(&self) -> ChannelRefsSource
fn clone(&self) -> ChannelRefsSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChannelRefsSource
impl RefUnwindSafe for ChannelRefsSource
impl Send for ChannelRefsSource
impl Sync for ChannelRefsSource
impl Unpin for ChannelRefsSource
impl UnwindSafe for ChannelRefsSource
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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