pub enum Refresh<'a> {
None,
All,
Only(&'a str),
}Expand description
Which sources resolve may move off their locked commit.
Variants§
None
None: every source at its locked commit.
All
Every source, to what its ref names now.
Only(&'a str)
The source with this name, or the one the layer with this name comes from.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Refresh<'a>
impl<'a> RefUnwindSafe for Refresh<'a>
impl<'a> Send for Refresh<'a>
impl<'a> Sync for Refresh<'a>
impl<'a> Unpin for Refresh<'a>
impl<'a> UnsafeUnpin for Refresh<'a>
impl<'a> UnwindSafe for Refresh<'a>
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