pub struct UserVars { /* private fields */ }Expand description
The user’s own variables, as a source named user: literal values only (secrets belong in
the store as references).
Implementations§
Trait Implementations§
Source§impl Source for UserVars
impl Source for UserVars
Source§fn overlay<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 SourceCtx,
) -> Pin<Box<dyn Future<Output = Result<Overlay, SourceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn overlay<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 SourceCtx,
) -> Pin<Box<dyn Future<Output = Result<Overlay, SourceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The overlay for the instance
ctx describes.Source§fn refresh<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 SourceCtx,
current: &'life2 Overlay,
) -> Pin<Box<dyn Future<Output = Result<Overlay, SourceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn refresh<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 SourceCtx,
current: &'life2 Overlay,
) -> Pin<Box<dyn Future<Output = Result<Overlay, SourceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
A fresh overlay once
current has expired. The default asks again.Auto Trait Implementations§
impl Freeze for UserVars
impl RefUnwindSafe for UserVars
impl Send for UserVars
impl Sync for UserVars
impl Unpin for UserVars
impl UnsafeUnpin for UserVars
impl UnwindSafe for UserVars
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