Enum pallet_ddxp::Error [−][src]
pub enum Error<T: Trait> { TooShort, TooLong, // some variants omitted }
Variants
A name is too short.
A name is too long.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Error<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Error<T> where
T: Send,
T: Send,
impl<T> Sync for Error<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Error<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Error<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> CheckedConversion for T
[src]
impl<T> CheckedConversion for T
[src]fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>,
[src]
fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>,
[src]Convert from a value of T
into an equivalent instance of Option<Self>
. Read more
fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>,
[src]
fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>,
[src]Consume self to return Some
equivalent value of Option<T>
. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Convert from a value of T
into an equivalent instance of Self
. Read more
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of T
. Read more
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
pub fn unchecked_into(self) -> T
pub fn unchecked_into(self) -> T
The counterpart to unchecked_from
.
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
pub fn unique_saturated_into(self) -> T
pub fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of T
.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithPostDispatchInfo for T where
T: Into<DispatchError>,
[src]
impl<T> WithPostDispatchInfo for T where
T: Into<DispatchError>,
[src]pub fn with_weight(
self,
actual_weight: u64
) -> DispatchErrorWithPostInfo<PostDispatchInfo>
[src]
pub fn with_weight(
self,
actual_weight: u64
) -> DispatchErrorWithPostInfo<PostDispatchInfo>
[src]Call this on your modules custom errors type in order to return a custom weight on error. Read more
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
T: RefUnwindSafe,