pub struct Entry;
Expand description
Grove entry point manager
Implementations§
Source§
impl
Entry
impl Entry
Source
async fn
run_standalone(args:
CliArgs) ->
Result<()>
async fn run_standalone(args: CliArgs) -> Result<()>
Run in standalone mode
Source
async fn
run_service(_args:
CliArgs) ->
Result<()>
async fn run_service(_args: CliArgs) -> Result<()>
Run as a service
Source
async fn
run_validation(args:
CliArgs) ->
Result<()>
async fn run_validation(args: CliArgs) -> Result<()>
Validate an extension
Source
pub 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
Source
pub 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
Source
pub async fn
list_extensions(_detailed:
bool) ->
Result<Vec<ExtensionInfo>>
pub async fn list_extensions(_detailed: bool) -> Result<Vec<ExtensionInfo>>
List loaded extensions
Source
fn
create_transport(args: &CliArgs) ->
Result<Transport>
fn create_transport(args: &CliArgs) -> Result<Transport>
Create transport based on arguments
Source
async 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 UnsafeUnpin for Entry
impl UnwindSafe for Entry
Blanket Implementations§
Source§
impl<T>
BorrowMut<T> for T
where T: ?Sized,
impl<T>
BorrowMut<T> for T
where 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 more
Source§
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 more
Source§
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