Enum hdk::prelude::SerializedBytesError [−]
Variants
Serialize(String)
somehow failed to move to bytes most likely hit a messagepack limit https://github.com/msgpack/msgpack/blob/master/spec.md#limitation
Deserialize(String)
somehow failed to restore bytes i mean, this could be anything, how do i know what’s wrong with your bytes?
Trait Implementations
impl Clone for SerializedBytesError
pub fn clone(&self) -> SerializedBytesError
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SerializedBytesError
impl<'de> Deserialize<'de> for SerializedBytesError
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SerializedBytesError, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
__deserializer: __D
) -> Result<SerializedBytesError, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Display for SerializedBytesError
impl Eq for SerializedBytesError
impl Error for SerializedBytesError
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Infallible> for SerializedBytesError
pub fn from(Infallible) -> SerializedBytesError
impl From<SerializedBytesError> for String
pub fn from(sb: SerializedBytesError) -> String
impl From<SerializedBytesError> for WasmError
pub fn from(error: SerializedBytesError) -> WasmError
impl From<SerializedBytesError> for EntryError
[src]
pub fn from(source: SerializedBytesError) -> EntryError
[src]
impl Hash for SerializedBytesError
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SerializedBytesError
pub fn cmp(&self, other: &SerializedBytesError) -> Ordering
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<SerializedBytesError> for SerializedBytesError
pub fn eq(&self, other: &SerializedBytesError) -> bool
pub fn ne(&self, other: &SerializedBytesError) -> bool
impl PartialOrd<SerializedBytesError> for SerializedBytesError
pub fn partial_cmp(&self, other: &SerializedBytesError) -> Option<Ordering>
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for SerializedBytesError
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for SerializedBytesError
impl StructuralPartialEq for SerializedBytesError
Auto Trait Implementations
impl RefUnwindSafe for SerializedBytesError
impl Send for SerializedBytesError
impl Sync for SerializedBytesError
impl Unpin for SerializedBytesError
impl UnwindSafe for SerializedBytesError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,