Enum rust_stdf::StdfRecord
source · [−]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
Auto Trait Implementations
impl RefUnwindSafe for StdfRecord
impl Send for StdfRecord
impl Sync for StdfRecord
impl Unpin for StdfRecord
impl UnwindSafe for StdfRecord
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more