pub trait Decode: Sized {
// Required method
fn decode(r: &mut Reader<'_>) -> Result<Self, ModuleError>;
}Required Methods§
fn decode(r: &mut Reader<'_>) -> Result<Self, ModuleError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl Decode for FastsrtAdvPrint
impl Decode for FastsrtAdvPrint
Source§impl Decode for ProgramCheck
impl Decode for ProgramCheck
Source§impl Decode for TruncCheck
impl Decode for TruncCheck
Implementors§
impl Decode for AbendCode
impl Decode for AbendText
impl Decode for AcceptFrom
impl Decode for ArithPlan
impl Decode for ArithStep
impl Decode for Base
impl Decode for BinOp
impl Decode for Block
impl Decode for Bound
impl Decode for ByteClass
impl Decode for CallArg
impl Decode for CallPlan
impl Decode for CallTarget
impl Decode for Chars
impl Decode for CicsCommand
impl Decode for Class
A method or part is a program and never a class, so a class inside one is refused before it is read, which keeps decoding from nesting deeper than one class.