pub struct CustomDisplayFn<F, H, Context> { /* private fields */ }
Trait Implementations§
Source§impl<Context, F, H, C> CliBindings<Context> for CustomDisplayFn<F, H, C>where
Context: Context,
Self: HandlerTypes + PrintCliResult<Context>,
Self::Params: CommandFactory + FromArgMatches + Serialize,
impl<Context, F, H, C> CliBindings<Context> for CustomDisplayFn<F, H, C>where
Context: Context,
Self: HandlerTypes + PrintCliResult<Context>,
Self::Params: CommandFactory + FromArgMatches + Serialize,
Source§impl<Context, F, H, C> HandlerFor<Context> for CustomDisplayFn<F, H, C>
impl<Context, F, H, C> HandlerFor<Context> for CustomDisplayFn<F, H, C>
fn handle_sync( &self, _: HandlerArgsFor<Context, Self>, ) -> Result<Self::Ok, Self::Err>
async fn handle_async( &self, __arg1: HandlerArgsFor<Context, Self>, ) -> Result<Self::Ok, Self::Err>
fn metadata( &self, method: VecDeque<&'static str>, ) -> OrdMap<&'static str, Value>
fn method_from_dots(&self, method: &str) -> Option<VecDeque<&'static str>>
fn handle_async_with_sync<'a>( &'a self, handle_args: HandlerArgsFor<Context, Self>, ) -> impl Future<Output = Result<Self::Ok, Self::Err>> + Send + 'a
fn handle_async_with_sync_blocking<'a>( &'a self, handle_args: HandlerArgsFor<Context, Self>, ) -> impl Future<Output = Result<Self::Ok, Self::Err>> + Send + 'a
Source§impl<F, H, Context> HandlerTypes for CustomDisplayFn<F, H, Context>where
H: HandlerTypes,
impl<F, H, Context> HandlerTypes for CustomDisplayFn<F, H, Context>where
H: HandlerTypes,
type Params = <H as HandlerTypes>::Params
type InheritedParams = <H as HandlerTypes>::InheritedParams
type Ok = <H as HandlerTypes>::Ok
type Err = <H as HandlerTypes>::Err
Source§impl<F, H, Context> PrintCliResult<Context> for CustomDisplayFn<F, H, Context>
impl<F, H, Context> PrintCliResult<Context> for CustomDisplayFn<F, H, Context>
Auto Trait Implementations§
impl<F, H, Context> Freeze for CustomDisplayFn<F, H, Context>
impl<F, H, Context> RefUnwindSafe for CustomDisplayFn<F, H, Context>
impl<F, H, Context> Send for CustomDisplayFn<F, H, Context>
impl<F, H, Context> Sync for CustomDisplayFn<F, H, Context>
impl<F, H, Context> Unpin for CustomDisplayFn<F, H, Context>
impl<F, H, Context> UnwindSafe for CustomDisplayFn<F, H, Context>
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