pub struct DecodeConfig {
pub max_depth: usize,
pub allow_fallback_hex: bool,
}Expand description
Settings modifying XDR decoding actions.
Fields§
§max_depth: usizeLimit max depth during nested XDR parsing.
allow_fallback_hex: boolFallback to hex decoding if base64 detection fails.
Trait Implementations§
Source§impl Clone for DecodeConfig
impl Clone for DecodeConfig
Source§impl Debug for DecodeConfig
impl Debug for DecodeConfig
Source§impl Default for DecodeConfig
impl Default for DecodeConfig
Source§impl<'de> Deserialize<'de> for DecodeConfig
impl<'de> Deserialize<'de> for DecodeConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DecodeConfig
impl PartialEq for DecodeConfig
Source§impl Serialize for DecodeConfig
impl Serialize for DecodeConfig
impl StructuralPartialEq for DecodeConfig
Auto Trait Implementations§
impl Freeze for DecodeConfig
impl RefUnwindSafe for DecodeConfig
impl Send for DecodeConfig
impl Sync for DecodeConfig
impl Unpin for DecodeConfig
impl UnsafeUnpin for DecodeConfig
impl UnwindSafe for DecodeConfig
Blanket Implementations§
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