pub struct WorkspaceHeadBuilder { /* private fields */ }Expand description
Builder for explicit isolated or shared heads.
Implementations§
Source§impl WorkspaceHeadBuilder
impl WorkspaceHeadBuilder
pub fn from_revision(self, revision: impl Into<String>) -> Self
Opt into concurrent sessions addressing the same mutable head.
pub async fn create(self) -> Result<WorkspaceHead, WorkspaceError>
Auto Trait Implementations§
impl !RefUnwindSafe for WorkspaceHeadBuilder
impl !UnwindSafe for WorkspaceHeadBuilder
impl Freeze for WorkspaceHeadBuilder
impl Send for WorkspaceHeadBuilder
impl Sync for WorkspaceHeadBuilder
impl Unpin for WorkspaceHeadBuilder
impl UnsafeUnpin for WorkspaceHeadBuilder
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