pub struct K1RustCoding { /* private fields */ }Implementations§
Source§impl K1RustCoding
impl K1RustCoding
pub fn open( cache_root: impl AsRef<Path>, user: TxId, config: RustCodingConfig, projection: Arc<K1RustProjection>, ) -> Result<Self, RustCodingError>
pub fn cache_epoch(&self) -> u64
pub fn admit_library( &mut self, id: &LibraryId, gate: &dyn RustAuthorization, ) -> Result<(), RustCodingError>
pub fn check( &mut self, package: &SourcePackage, gate: &dyn RustAuthorization, ) -> Result<CheckOutcome, RustCodingError>
pub fn publish( &mut self, package: &SourcePackage, gate: &dyn RustAuthorization, ) -> Result<PublishResult, RustCodingError>
pub fn build_binary( &mut self, package: &SourcePackage, binary: &str, gate: &dyn RustAuthorization, ) -> Result<BinaryBuild, RustCodingError>
pub fn reset(&mut self) -> Result<(), RustCodingError>
Auto Trait Implementations§
impl Freeze for K1RustCoding
impl RefUnwindSafe for K1RustCoding
impl Send for K1RustCoding
impl Sync for K1RustCoding
impl Unpin for K1RustCoding
impl UnsafeUnpin for K1RustCoding
impl UnwindSafe for K1RustCoding
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