Enum twitch_api2::helix::SerializeError [−][src]
pub enum SerializeError { Custom(Cow<'static, str>), TopLevelNotSupported { location: &'static Location<'static>, }, FieldNotSupported { location: &'static Location<'static>, }, PairNotSupported { location: &'static Location<'static>, }, ValueNotSupported { location: &'static Location<'static>, }, }
This is supported on crate feature
helix
only.Errors from the query serializer
Variants
{0}
serializer only supports structs and maps on top-level
Show fields
Fields of TopLevelNotSupported
location: &'static Location<'static>
Location where this was triggered
field serializer only supports strings, sequences, options, maps and tuples
Show fields
Fields of FieldNotSupported
location: &'static Location<'static>
Location where this was triggered
pair serializer only supports strings, integers, floats, bools. options
Show fields
Fields of PairNotSupported
location: &'static Location<'static>
Location where this was triggered
value serializer only supports primitive types
Show fields
Fields of ValueNotSupported
location: &'static Location<'static>
Location where this was triggered
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl RefUnwindSafe for Error
impl UnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
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> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,