pub enum ArgumentError { TooFewArgs, TooManyArgs, InvalidKeywordArgument(String), RequiredKeywordArgument(String), Exception(PyBaseExceptionRef),}
An error encountered while binding arguments to the parameters of a Pythonfunction call.
The call provided fewer positional arguments than the function requires.
The call provided more positional arguments than the function accepts.
InvalidKeywordArgument(String)
The function doesn't accept a keyword argument with the given name.
RequiredKeywordArgument(String)
The function require a keyword argument with the given name, but one wasn't provided
Exception(PyBaseExceptionRef)
An exception was raised while binding arguments to the functionparameters.
implFrom<PyRef<PyBaseException>> forArgumentError
[src]fnfrom(ex:PyBaseExceptionRef) -> Self
[src]impl !RefUnwindSafe forArgumentError
impl !Send forArgumentError
impl !Sync forArgumentError
implUnpin forArgumentError
impl !UnwindSafe forArgumentError
impl<T>Any for Twhere
T: 'static + ?Sized,
[src]impl<T>Borrow<T> for Twhere
T: ?Sized,
[src]impl<T>BorrowMut<T> for Twhere
T: ?Sized,
[src]fnborrow_mut(&mut self) ->&mutT
[src]impl<T>From<T> for T
[src]impl<T, U>Into<U> for Twhere
U:From<T>,
[src]impl<T> Same<T> for T
typeOutput = T
Should always beSelf
impl<T, U>TryFrom<U> for Twhere
U:Into<T>,
[src]typeError =Infallible
The type returned in the event of a conversion error.
fntry_from(value: U) ->Result<T, <T asTryFrom<U>>::Error>
[src]impl<T, U>TryInto<U> for Twhere
U:TryFrom<T>,
[src]typeError = <U asTryFrom<T>>::Error
The type returned in the event of a conversion error.
fntry_into(self) ->Result<U, <U asTryFrom<T>>::Error>
[src]impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fnvzip(self) -> V