pub struct Pinned<'a> {
pub push: bool,
pub sdd_rel: &'a Path,
}Expand description
What a caller that runs many transactions decides once and holds every
one of them to — vitrify run does: how commits are published (a run
that began by pushing must never fall back to moving the local branch
because one fetch failed: that would put a claim on a mainline nobody
else sees), and which SDD, by its path under the repository root.
Fields§
§push: bool§sdd_rel: &'a PathAuto Trait Implementations§
impl<'a> Forget for Pinned<'a>
impl<'a> Freeze for Pinned<'a>
impl<'a> Move for Pinned<'a>
impl<'a> RefUnwindSafe for Pinned<'a>
impl<'a> Send for Pinned<'a>
impl<'a> Sync for Pinned<'a>
impl<'a> Unpin for Pinned<'a>
impl<'a> UnsafeUnpin for Pinned<'a>
impl<'a> UnwindSafe for Pinned<'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