pub struct EndpointDynArgLoader<AA>where
AA: EndpointArgumentApi + 'static,{ /* private fields */ }Implementations§
source§impl<AA> EndpointDynArgLoader<AA>where
AA: EndpointArgumentApi + 'static,
impl<AA> EndpointDynArgLoader<AA>where
AA: EndpointArgumentApi + 'static,
Trait Implementations§
source§impl<AA> DynArgInput<ArgDecodeInput<AA>> for EndpointDynArgLoader<AA>where
AA: EndpointArgumentApi + Clone + 'static,
impl<AA> DynArgInput<ArgDecodeInput<AA>> for EndpointDynArgLoader<AA>where
AA: EndpointArgumentApi + Clone + 'static,
source§fn next_arg_input(&mut self) -> ArgDecodeInput<AA>
fn next_arg_input(&mut self) -> ArgDecodeInput<AA>
Retrieves an input for deserializing an argument.
If the loader is out of arguments, it will crash by itself with an appropriate error,
without returning.
Use if the next argument is optional, use
has_next beforehand.source§fn assert_no_more_args(&self)
fn assert_no_more_args(&self)
Called after retrieving all arguments to validate that extra arguments were not provided.
source§impl<AA> ErrorApi for EndpointDynArgLoader<AA>where
AA: EndpointArgumentApi + ErrorApi + 'static,
impl<AA> ErrorApi for EndpointDynArgLoader<AA>where
AA: EndpointArgumentApi + ErrorApi + 'static,
fn signal_error(&self, message: &[u8]) -> !
Auto Trait Implementations§
impl<AA> RefUnwindSafe for EndpointDynArgLoader<AA>where
AA: RefUnwindSafe,
impl<AA> Send for EndpointDynArgLoader<AA>where
AA: Send,
impl<AA> Sync for EndpointDynArgLoader<AA>where
AA: Sync,
impl<AA> Unpin for EndpointDynArgLoader<AA>where
AA: Unpin,
impl<AA> UnwindSafe for EndpointDynArgLoader<AA>where
AA: 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