pub struct ServeCommandArgs<M, S>where
M: MigratorTrait,
S: ServerTrait,{ /* private fields */ }Trait Implementations§
Source§impl<M, S> Args for ServeCommandArgs<M, S>where
M: MigratorTrait,
S: ServerTrait,
impl<M, S> Args for ServeCommandArgs<M, S>where
M: MigratorTrait,
S: ServerTrait,
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl<M, S> Debug for ServeCommandArgs<M, S>
impl<M, S> Debug for ServeCommandArgs<M, S>
Source§impl<M, S> FromArgMatches for ServeCommandArgs<M, S>where
M: MigratorTrait,
S: ServerTrait,
impl<M, S> FromArgMatches for ServeCommandArgs<M, S>where
M: MigratorTrait,
S: ServerTrait,
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl<M, S> Runnable for ServeCommandArgs<M, S>where
M: MigratorTrait,
S: ServerTrait,
impl<M, S> Runnable for ServeCommandArgs<M, S>where
M: MigratorTrait,
S: ServerTrait,
Auto Trait Implementations§
impl<M, S> !Freeze for ServeCommandArgs<M, S>
impl<M, S> !RefUnwindSafe for ServeCommandArgs<M, S>
impl<M, S> Send for ServeCommandArgs<M, S>
impl<M, S> Sync for ServeCommandArgs<M, S>where
M: Sync,
impl<M, S> Unpin for ServeCommandArgs<M, S>
impl<M, S> !UnwindSafe for ServeCommandArgs<M, S>
Blanket Implementations§
Source§impl<T, U> AsyncTryInto<T> for Uwhere
T: AsyncTryFrom<U>,
impl<T, U> AsyncTryInto<T> for Uwhere
T: AsyncTryFrom<U>,
type Error = <T as AsyncTryFrom<U>>::Error
async fn async_try_into(self) -> Result<T, <U as AsyncTryInto<T>>::Error>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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