pub struct K1RustProjection { /* private fields */ }Implementations§
Source§impl K1RustProjection
impl K1RustProjection
pub fn open( projection_root: impl AsRef<Path>, control_root: impl AsRef<Path>, ordering: Arc<K1TxnOrdering>, peering: Arc<K1Peering>, ) -> Result<Self, String>
pub fn load(&self, id: &LibraryId) -> Result<Option<SourcePackage>, String>
pub fn resolve( &self, family: &LibraryFamily, requirement: &VersionReq, ) -> Result<Option<SourcePackage>, String>
pub fn publish(&self, package: &SourcePackage) -> Result<PublishOutcome, String>
pub fn cursor(&self) -> Result<Option<TxId>, String>
pub fn is_available(&self) -> bool
Auto Trait Implementations§
impl Freeze for K1RustProjection
impl RefUnwindSafe for K1RustProjection
impl Send for K1RustProjection
impl Sync for K1RustProjection
impl Unpin for K1RustProjection
impl UnsafeUnpin for K1RustProjection
impl UnwindSafe for K1RustProjection
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