pub enum StdfRecord {
Show 34 variants FAR(FAR), ATR(ATR), VUR(VUR), MIR(MIR), MRR(MRR), PCR(PCR), HBR(HBR), SBR(SBR), PMR(PMR), PGR(PGR), PLR(PLR), RDR(RDR), SDR(SDR), PSR(PSR), NMR(NMR), CNR(CNR), SSR(SSR), CDR(CDR), WIR(WIR), WRR(WRR), WCR(WCR), PIR(PIR), PRR(PRR), TSR(TSR), PTR(PTR), MPR(MPR), FTR(FTR), STR(STR), BPS(BPS), EPS(EPS), GDR(GDR), DTR(DTR), ReservedRec(ReservedRec), InvalidRec,
}
Expand description

StdfRecord is the data that returned from StdfReader iterator.

it contains the actually structs that contain STDF data.

use match structure to access the nested data.

Example

use rust_stdf::{StdfRecord, stdf_record_type::*};

let mut rec = StdfRecord::new(REC_PTR);
if let StdfRecord::PTR(ref mut ptr_data) = rec {
    ptr_data.result = 100.0;
}
println!("{:?}", rec);

Variants

FAR(FAR)

ATR(ATR)

VUR(VUR)

MIR(MIR)

MRR(MRR)

PCR(PCR)

HBR(HBR)

SBR(SBR)

PMR(PMR)

PGR(PGR)

PLR(PLR)

RDR(RDR)

SDR(SDR)

PSR(PSR)

NMR(NMR)

CNR(CNR)

SSR(SSR)

CDR(CDR)

WIR(WIR)

WRR(WRR)

WCR(WCR)

PIR(PIR)

PRR(PRR)

TSR(TSR)

PTR(PTR)

MPR(MPR)

FTR(FTR)

STR(STR)

BPS(BPS)

EPS(EPS)

GDR(GDR)

DTR(DTR)

ReservedRec(ReservedRec)

InvalidRec

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.