pub struct K1WebCodeKtoolService { /* private fields */ }Implementations§
Source§impl K1WebCodeKtoolService
impl K1WebCodeKtoolService
pub fn new( config: ServiceConfig, groups: Arc<K1Groups>, objects: Arc<K1Objects>, public: Arc<K1WebProjection>, workspaces: Arc<K1WebCodeWorkspace>, ) -> Self
pub fn create( &self, context: &AccessContext, authority: Authority, library: &str, language: Language, ) -> Result<OpenedLibrary, ServiceError>
pub fn docs( &self, context: &AccessContext, authority: Authority, library: &str, version: Option<VersionChoice>, ) -> Result<Option<DocsResult>, ServiceError>
pub fn open( &self, context: &AccessContext, authority: Authority, library: &str, version: Option<VersionChoice>, ) -> Result<Option<OpenedLibrary>, ServiceError>
pub fn validate_current( &self, context: &AccessContext, authority: Authority, opened: &OpenedLibrary, ) -> Result<(), ServiceError>
pub fn overwrite( &self, context: &AccessContext, authority: Authority, opened: &OpenedLibrary, part: DocumentPart, contents: String, ) -> Result<OpenedLibrary, ServiceError>
pub fn check( &self, context: &AccessContext, authority: Authority, opened: &OpenedLibrary, ) -> Result<CheckOutcome, ServiceError>
pub fn publish( &self, context: &AccessContext, authority: Authority, opened: &OpenedLibrary, version: Version, ) -> Result<PublishCompletion, ServiceError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for K1WebCodeKtoolService
impl !UnwindSafe for K1WebCodeKtoolService
impl Freeze for K1WebCodeKtoolService
impl Send for K1WebCodeKtoolService
impl Sync for K1WebCodeKtoolService
impl Unpin for K1WebCodeKtoolService
impl UnsafeUnpin for K1WebCodeKtoolService
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