pub struct InvalidGrantInput {
pub what: &'static str,
}Expand description
A value from the grant stream or the producer that could not be accepted as an identity: empty, or over its bound.
Fields§
§what: &'static strWhich value was refused.
Trait Implementations§
Source§impl Clone for InvalidGrantInput
impl Clone for InvalidGrantInput
impl Copy for InvalidGrantInput
Source§impl Debug for InvalidGrantInput
impl Debug for InvalidGrantInput
Source§impl Display for InvalidGrantInput
impl Display for InvalidGrantInput
impl Eq for InvalidGrantInput
Source§impl Error for InvalidGrantInput
impl Error for InvalidGrantInput
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for InvalidGrantInput
impl PartialEq for InvalidGrantInput
impl StructuralPartialEq for InvalidGrantInput
Auto Trait Implementations§
impl Freeze for InvalidGrantInput
impl RefUnwindSafe for InvalidGrantInput
impl Send for InvalidGrantInput
impl Sync for InvalidGrantInput
impl Unpin for InvalidGrantInput
impl UnsafeUnpin for InvalidGrantInput
impl UnwindSafe for InvalidGrantInput
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.