pub struct NoDisplay<H>(pub H);
Tuple Fields§
§0: H
Trait Implementations§
Source§impl<Context, H> CliBindings<Context> for NoDisplay<H>where
Context: Context,
Self: HandlerTypes + PrintCliResult<Context>,
Self::Params: CommandFactory + FromArgMatches + Serialize,
impl<Context, H> CliBindings<Context> for NoDisplay<H>where
Context: Context,
Self: HandlerTypes + PrintCliResult<Context>,
Self::Params: CommandFactory + FromArgMatches + Serialize,
Source§impl<Context, H> HandlerFor<Context> for NoDisplay<H>where
Context: Context,
H: HandlerFor<Context>,
impl<Context, H> HandlerFor<Context> for NoDisplay<H>where
Context: Context,
H: HandlerFor<Context>,
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<H: HandlerTypes> HandlerTypes for NoDisplay<H>
impl<H: HandlerTypes> HandlerTypes for NoDisplay<H>
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<Context, H> PrintCliResult<Context> for NoDisplay<H>
impl<Context, H> PrintCliResult<Context> for NoDisplay<H>
Auto Trait Implementations§
impl<H> Freeze for NoDisplay<H>where
H: Freeze,
impl<H> RefUnwindSafe for NoDisplay<H>where
H: RefUnwindSafe,
impl<H> Send for NoDisplay<H>where
H: Send,
impl<H> Sync for NoDisplay<H>where
H: Sync,
impl<H> Unpin for NoDisplay<H>where
H: Unpin,
impl<H> UnwindSafe for NoDisplay<H>where
H: UnwindSafe,
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