Struct dharitri_wasm::io::EndpointDynArgLoader
source · pub struct EndpointDynArgLoader<AA>{ /* private fields */ }Implementations§
source§impl<AA> EndpointDynArgLoader<AA>
impl<AA> EndpointDynArgLoader<AA>
Trait Implementations§
source§impl<AA> Default for EndpointDynArgLoader<AA>
impl<AA> Default for EndpointDynArgLoader<AA>
source§fn default() -> EndpointDynArgLoader<AA>
fn default() -> EndpointDynArgLoader<AA>
Returns the “default value” for a type. Read more
source§impl<AA> DynArgInput for EndpointDynArgLoader<AA>
impl<AA> DynArgInput for EndpointDynArgLoader<AA>
type ItemInput = ArgDecodeInput<AA>
type ManagedTypeErrorApi = AA
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 flush_ignore(&mut self)
fn flush_ignore(&mut self)
Consumes all inputs and ignores them.
After executing this, assert_no_more_args should not fail.
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.
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