pub struct Entry;Expand description
Grove entry point manager
Implementations§
Source§impl Entry
impl Entry
Sourceasync fn run_standalone(args: CliArgs) -> Result<()>
async fn run_standalone(args: CliArgs) -> Result<()>
Run in standalone mode
Sourceasync fn run_service(args: CliArgs) -> Result<()>
async fn run_service(args: CliArgs) -> Result<()>
Run as a service
Sourceasync fn run_validation(args: CliArgs) -> Result<()>
async fn run_validation(args: CliArgs) -> Result<()>
Validate an extension
Sourcepub async fn validate_extension(
path: &PathBuf,
detailed: bool,
) -> Result<ValidationResult>
pub async fn validate_extension( path: &PathBuf, detailed: bool, ) -> Result<ValidationResult>
Validate an extension manifest
Sourcepub async fn build_wasm_module(
source: PathBuf,
output: PathBuf,
opt_level: String,
target: Option<String>,
) -> Result<BuildResult>
pub async fn build_wasm_module( source: PathBuf, output: PathBuf, opt_level: String, target: Option<String>, ) -> Result<BuildResult>
Build a WASM module
Sourcepub async fn list_extensions(detailed: bool) -> Result<Vec<ExtensionInfo>>
pub async fn list_extensions(detailed: bool) -> Result<Vec<ExtensionInfo>>
List loaded extensions
Sourcefn create_transport(args: &CliArgs) -> Result<Transport>
fn create_transport(args: &CliArgs) -> Result<Transport>
Create transport based on arguments
Sourceasync fn wait_for_shutdown()
async fn wait_for_shutdown()
Wait for shutdown signal
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request