pub struct ArgId(/* private fields */);
Expand description
Some info to display in endpoint argument deserialization error messages, to help users identify the faulty argument. Generated automatically. Current version uses argument names, but in principle it could be changed to argument index to save some bytes from the wasm output.
Implementations§
Trait Implementations§
Source§impl<M> From<ArgId> for ArgErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
impl<M> From<ArgId> for ArgErrorHandler<M>where
M: ManagedTypeApi + ErrorApi,
impl Copy for ArgId
Auto Trait Implementations§
impl Freeze for ArgId
impl RefUnwindSafe for ArgId
impl Send for ArgId
impl Sync for ArgId
impl Unpin for ArgId
impl UnwindSafe for ArgId
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