MCPcopy Create free account
hub / github.com/SoftbearStudios/bitcode / invalid_enum_variant

Function invalid_enum_variant

src/derive/mod.rs:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 pub use crate::derive::variant::{VariantDecoder, VariantEncoder};
22 pub use crate::derive::{Decode, Encode};
23 pub fn invalid_enum_variant<T>() -> Result<T> {
24 crate::error::err("invalid enum variant")
25 }
26}
27
28/// A type which can be encoded to bytes with [`encode`].

Callers

nothing calls this directly

Calls 1

errFunction · 0.50

Tested by

no test coverage detected