pub enum ServiceMode {
Crud,
Wasm,
Container,
Web,
Native,
}Variants§
Crud
Wasm
Container
Web
Native
A Rust binary supervised by the extension runner that serves the
extensions it provides.
Implementations§
Source§impl ServiceMode
impl ServiceMode
Sourcepub fn runs_on_platform(&self) -> bool
pub fn runs_on_platform(&self) -> bool
Whether the platform runs the service itself: its schema, module, database role, subscriptions and schedules. A web app and a native service run in a runner of their own and have none of them.
Trait Implementations§
Source§impl Clone for ServiceMode
impl Clone for ServiceMode
Source§impl Debug for ServiceMode
impl Debug for ServiceMode
Source§impl Default for ServiceMode
impl Default for ServiceMode
Source§impl<'de> Deserialize<'de> for ServiceMode
impl<'de> Deserialize<'de> for ServiceMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ServiceMode
Source§impl PartialEq for ServiceMode
impl PartialEq for ServiceMode
Source§impl Serialize for ServiceMode
impl Serialize for ServiceMode
impl StructuralPartialEq for ServiceMode
Auto Trait Implementations§
impl Freeze for ServiceMode
impl RefUnwindSafe for ServiceMode
impl Send for ServiceMode
impl Sync for ServiceMode
impl Unpin for ServiceMode
impl UnsafeUnpin for ServiceMode
impl UnwindSafe for ServiceMode
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