pub struct K1WebCodeWorkspace { /* private fields */ }Implementations§
Source§impl K1WebCodeWorkspace
impl K1WebCodeWorkspace
pub fn open( ordering: Arc<K1TxnOrdering>, peering: Arc<K1Peering>, ) -> Result<Self, String>
pub fn create(&self, document: CodeDocument) -> Result<Workspace, String>
pub fn branch(&self, document: CodeDocument) -> Result<Workspace, String>
pub fn overwrite( &self, workspace: TxId, expected: TxId, document: CodeDocument, ) -> Result<Workspace, String>
pub fn get(&self, workspace: TxId) -> Result<Option<Workspace>, String>
pub fn latest(&self, family: &WebFamily) -> Result<Option<Workspace>, String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for K1WebCodeWorkspace
impl RefUnwindSafe for K1WebCodeWorkspace
impl Send for K1WebCodeWorkspace
impl Sync for K1WebCodeWorkspace
impl Unpin for K1WebCodeWorkspace
impl UnsafeUnpin for K1WebCodeWorkspace
impl UnwindSafe for K1WebCodeWorkspace
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