Skip to main content

IoError

Enum IoError 

Source
#[non_exhaustive]
pub enum IoError {
Show 175 variants Codec { path: PathBuf, source: Box<IoError>, }, InvalidPadValue { value: f64, width: usize, message: String, }, Io { path: PathBuf, source: Error, }, IncludeDepth { path: PathBuf, }, RecursiveInclude { path: PathBuf, }, Parse { path: PathBuf, line: usize, message: String, }, Format { source: Error, }, PotentialOutputShape { field: &'static str, rows: usize, cols: usize, min_rows: usize, min_cols: usize, }, InvalidPotentialOutput { field: &'static str, message: String, }, MtdpShape { field: &'static str, rows: usize, cols: usize, expected_rows: usize, expected_cols: usize, }, MtdpLength { field: &'static str, len: usize, expected: usize, }, MtdpMissing { field: &'static str, }, MtdpParse { field: &'static str, token: String, }, InvalidMtdp { field: &'static str, message: String, }, MtdpTrailingTokens { count: usize, }, PotBinShape { field: &'static str, actual: Vec<usize>, expected: Vec<usize>, }, PotBinMissing { field: &'static str, }, PotBinParse { field: &'static str, token: String, }, InvalidPotBin { field: &'static str, message: String, }, PotBinTrailingLines { count: usize, }, ApotBinParse { field: &'static str, line: usize, token: String, }, InvalidApotBin { line: usize, message: String, }, InvalidEmeshBin { message: String, }, InvalidSpecfunctDat { message: String, }, SpecfunctDatInterpolation { source: SfconvError, }, SpecfunctDatExafsConvolution { source: SfconvError, }, SpecfunctDatXanesConvolution { source: SfconvError, }, InvalidGtrBin { message: String, }, InvalidChiaBin { message: String, }, PhaseBinShape { field: &'static str, actual: Vec<usize>, expected: Vec<usize>, }, PhaseBinMissing { field: &'static str, }, PhaseBinParse { field: &'static str, token: String, }, InvalidPhaseBin { field: &'static str, message: String, }, InvalidXsphRlDat { field: &'static str, message: String, }, PhaseBinTrailingLines { count: usize, }, BandSetup { source: BandError, }, FeffBinShape { field: &'static str, actual: Vec<usize>, expected: Vec<usize>, }, FeffBinMissing { field: &'static str, }, FeffBinParse { field: &'static str, token: String, }, InvalidFeffBin { field: &'static str, message: String, }, ListDatMissing { field: &'static str, }, ListDatParse { field: &'static str, line: usize, token: String, }, ListDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidListDat { field: &'static str, message: String, }, NStarDatMissing { field: &'static str, }, NStarDatParse { field: &'static str, line: usize, token: String, }, NStarDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidNStarDat { field: &'static str, message: String, }, XsectDatShape { field: &'static str, actual: usize, expected: usize, }, XsectDatMissing { field: &'static str, }, XsectDatParse { field: &'static str, line: usize, token: String, }, XsectDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidXsectDat { field: &'static str, message: String, }, XsedgeDatShape { field: &'static str, actual: usize, expected: usize, }, XsedgeDatParse { field: &'static str, line: usize, token: String, }, XsedgeDatRowWidth { line: usize, actual: usize, expected: &'static str, }, InvalidXsedgeDat { field: &'static str, message: String, }, AxafsDatShape { field: &'static str, actual: usize, expected: usize, }, AxafsDatParse { field: &'static str, line: usize, token: String, }, AxafsDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidAxafsDat { field: &'static str, message: String, }, XmuDatShape { field: &'static str, actual: usize, expected: usize, }, XmuDatParse { field: &'static str, line: usize, token: String, }, XmuDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidXmuDat { field: &'static str, message: String, }, XmulDatShape { field: &'static str, actual: Vec<usize>, expected: Vec<usize>, }, XmulDatParse { field: &'static str, line: usize, token: String, }, XmulDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidXmulDat { field: &'static str, message: String, }, InvalidRunOutput { field: &'static str, message: String, }, ChiDatShape { field: &'static str, actual: usize, expected: usize, }, ChiDatParse { field: &'static str, line: usize, token: String, }, ChiDatRowWidth { line: usize, actual: usize, expected: &'static str, }, InvalidChiDat { field: &'static str, message: String, }, EelsDatShape { field: &'static str, actual: usize, expected: usize, }, EelsDatTensorShape { rows: usize, cols: usize, expected_rows: usize, expected_cols: usize, }, EelsDatParse { field: &'static str, line: usize, token: String, }, EelsDatRowWidth { line: usize, actual: usize, expected: &'static str, }, InvalidEelsDat { field: &'static str, message: String, }, DanesDatShape { field: &'static str, actual: usize, expected: usize, }, DanesDatParse { field: &'static str, line: usize, token: String, }, DanesDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidDanesDat { field: &'static str, message: String, }, LdosDatShape { field: &'static str, rows: usize, cols: usize, expected_rows: usize, expected_cols: &'static str, }, LdosDatParse { field: &'static str, line: usize, token: String, }, LdosDatRowWidth { line: usize, actual: usize, expected: &'static str, }, InvalidLdosDat { field: &'static str, message: String, }, LogDatMissing { field: &'static str, }, LogDatParse { field: &'static str, line: usize, token: String, }, InvalidLogDat { field: &'static str, message: String, }, InvalidMiscDat { line: usize, message: String, }, ComptonDatShape { field: &'static str, actual: usize, expected: usize, }, ComptonDatParse { field: &'static str, line: usize, token: String, }, ComptonDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidComptonDat { field: &'static str, message: String, }, RhozzpDatShape { field: &'static str, actual: usize, expected: usize, }, RhozzpDatParse { field: &'static str, line: usize, token: String, }, RhozzpDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidRhozzpDat { field: &'static str, message: String, }, RhorrpDensityShape { field: &'static str, rows: usize, columns: usize, expected: &'static str, }, RhorrpDensityLength { field: &'static str, actual: usize, expected: usize, }, RhorrpDensityParse { field: &'static str, line: usize, token: String, }, RhorrpDensityRowWidth { line: usize, actual: usize, expected: String, }, InvalidRhorrpDensity { field: &'static str, message: String, }, InvalidRhorrpDensityBin { message: String, }, InvalidRhorrpGgBin { message: String, }, RhorrpDensityEvaluation { source: RhorrpError, }, JzzpDatShape { field: &'static str, rows: usize, cols: usize, expected_rows: usize, expected_cols: usize, }, JzzpDatMissing { field: &'static str, }, JzzpDatParse { field: &'static str, line: usize, token: String, }, InvalidJzzpDat { field: &'static str, message: String, }, CrpaDatMissing { field: &'static str, }, CrpaDatParse { field: &'static str, line: usize, token: String, }, CrpaDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidCrpaDat { field: &'static str, message: String, }, LossDatShape { field: &'static str, actual: usize, expected: usize, }, LossDatParse { field: &'static str, line: usize, token: String, }, LossDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidLossDat { field: &'static str, message: String, }, BphlDatParse { field: &'static str, line: usize, token: String, }, BphlDatRowWidth { line: usize, actual: usize, expected: usize, }, BphlDatRecordCount { actual: usize, expected: usize, }, BphlDatMeshMismatch { field: &'static str, line: usize, actual: f64, expected: f64, }, BphlDatValidation { source: ExchangeError, }, MpseDatShape { field: &'static str, actual: usize, expected: usize, }, MpseDatParse { field: &'static str, line: usize, token: String, }, MpseDatRowWidth { line: usize, actual: usize, expected: &'static str, }, InvalidMpseDat { field: &'static str, message: String, }, RixsDatShape { field: &'static str, rows: usize, cols: usize, expected_rows: usize, expected_cols: &'static str, }, RixsDatParse { field: &'static str, line: usize, token: String, }, RixsDatRowWidth { line: usize, actual: usize, expected: &'static str, }, InvalidRixsDat { field: &'static str, message: String, }, FmsBinShape { field: &'static str, actual: Vec<usize>, expected: Vec<usize>, }, FmsBinMissing { field: &'static str, }, FmsBinParse { field: &'static str, token: String, }, InvalidFmsBin { field: &'static str, message: String, }, FmslBinShape { field: &'static str, actual: Vec<usize>, expected: Vec<usize>, }, InvalidFmslBin { field: &'static str, message: String, }, XseclBinShape { field: &'static str, actual: Vec<usize>, expected: Vec<usize>, }, XseclBinMissing { field: &'static str, }, XseclBinParse { field: &'static str, line: usize, token: String, }, XseclBinRowWidth { line: usize, actual: usize, expected: usize, }, InvalidXseclBin { field: &'static str, message: String, }, FefflBinShape { field: &'static str, actual: Vec<usize>, expected: Vec<usize>, }, InvalidFefflBin { field: &'static str, message: String, }, PathsDatMissing { field: &'static str, }, PathsDatParse { field: &'static str, line: usize, token: String, }, PathsDatRowWidth { line: usize, actual: usize, expected: usize, }, InvalidPathsDat { field: &'static str, message: String, }, DymShape { field: &'static str, actual: Vec<usize>, expected: Vec<usize>, }, DymMissing { field: &'static str, }, DymParse { field: &'static str, line: usize, token: String, }, InvalidDym { field: &'static str, message: String, }, DymTrailingTokens { count: usize, }, GridInpMissing { field: &'static str, }, GridInpParse { field: &'static str, line: usize, token: String, }, GridInpRowWidth { line: usize, actual: usize, expected: usize, }, InvalidGridInp { field: &'static str, message: String, }, ConfigInpMissing { field: &'static str, line: usize, }, ConfigInpParse { field: &'static str, line: usize, token: String, }, ConfigInpRowWidth { line: usize, actual: usize, expected: usize, }, InvalidConfigInp { field: &'static str, message: String, }, SpringInpMissing { field: &'static str, }, SpringInpParse { field: &'static str, line: usize, token: String, }, SpringInpRowWidth { line: usize, actual: usize, expected: usize, }, InvalidSpringInp { field: &'static str, message: String, }, InvalidPadWidth(usize), PadMarker { expected: char, found: char, }, PadPayload { payload_len: usize, unit_len: usize, }, PadByte { value: i32, }, PadIndex { index: usize, }, InvalidPolarizationVector { norm: f64, }, InvalidPolarizationGeometry { dot: f64, }, PadUtf8 { source: FromUtf8Error, }, PadChunkUtf8 { source: Utf8Error, },
}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Codec

Fields

§path: PathBuf
§source: Box<IoError>
§

InvalidPadValue

Fields

§value: f64
§width: usize
§message: String
§

Io

Fields

§path: PathBuf
§source: Error
§

IncludeDepth

Fields

§path: PathBuf
§

RecursiveInclude

Fields

§path: PathBuf
§

Parse

Fields

§path: PathBuf
§line: usize
§message: String
§

Format

Fields

§source: Error
§

PotentialOutputShape

Fields

§field: &'static str
§rows: usize
§cols: usize
§min_rows: usize
§min_cols: usize
§

InvalidPotentialOutput

Fields

§field: &'static str
§message: String
§

MtdpShape

Fields

§field: &'static str
§rows: usize
§cols: usize
§expected_rows: usize
§expected_cols: usize
§

MtdpLength

Fields

§field: &'static str
§len: usize
§expected: usize
§

MtdpMissing

Fields

§field: &'static str
§

MtdpParse

Fields

§field: &'static str
§token: String
§

InvalidMtdp

Fields

§field: &'static str
§message: String
§

MtdpTrailingTokens

Fields

§count: usize
§

PotBinShape

Fields

§field: &'static str
§actual: Vec<usize>
§expected: Vec<usize>
§

PotBinMissing

Fields

§field: &'static str
§

PotBinParse

Fields

§field: &'static str
§token: String
§

InvalidPotBin

Fields

§field: &'static str
§message: String
§

PotBinTrailingLines

Fields

§count: usize
§

ApotBinParse

Fields

§field: &'static str
§line: usize
§token: String
§

InvalidApotBin

Fields

§line: usize
§message: String
§

InvalidEmeshBin

Fields

§message: String
§

InvalidSpecfunctDat

Fields

§message: String
§

SpecfunctDatInterpolation

Fields

§

SpecfunctDatExafsConvolution

Fields

§

SpecfunctDatXanesConvolution

Fields

§

InvalidGtrBin

Fields

§message: String
§

InvalidChiaBin

Fields

§message: String
§

PhaseBinShape

Fields

§field: &'static str
§actual: Vec<usize>
§expected: Vec<usize>
§

PhaseBinMissing

Fields

§field: &'static str
§

PhaseBinParse

Fields

§field: &'static str
§token: String
§

InvalidPhaseBin

Fields

§field: &'static str
§message: String
§

InvalidXsphRlDat

Fields

§field: &'static str
§message: String
§

PhaseBinTrailingLines

Fields

§count: usize
§

BandSetup

Fields

§source: BandError
§

FeffBinShape

Fields

§field: &'static str
§actual: Vec<usize>
§expected: Vec<usize>
§

FeffBinMissing

Fields

§field: &'static str
§

FeffBinParse

Fields

§field: &'static str
§token: String
§

InvalidFeffBin

Fields

§field: &'static str
§message: String
§

ListDatMissing

Fields

§field: &'static str
§

ListDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

ListDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidListDat

Fields

§field: &'static str
§message: String
§

NStarDatMissing

Fields

§field: &'static str
§

NStarDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

NStarDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidNStarDat

Fields

§field: &'static str
§message: String
§

XsectDatShape

Fields

§field: &'static str
§actual: usize
§expected: usize
§

XsectDatMissing

Fields

§field: &'static str
§

XsectDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

XsectDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidXsectDat

Fields

§field: &'static str
§message: String
§

XsedgeDatShape

Fields

§field: &'static str
§actual: usize
§expected: usize
§

XsedgeDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

XsedgeDatRowWidth

Fields

§line: usize
§actual: usize
§expected: &'static str
§

InvalidXsedgeDat

Fields

§field: &'static str
§message: String
§

AxafsDatShape

Fields

§field: &'static str
§actual: usize
§expected: usize
§

AxafsDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

AxafsDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidAxafsDat

Fields

§field: &'static str
§message: String
§

XmuDatShape

Fields

§field: &'static str
§actual: usize
§expected: usize
§

XmuDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

XmuDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidXmuDat

Fields

§field: &'static str
§message: String
§

XmulDatShape

Fields

§field: &'static str
§actual: Vec<usize>
§expected: Vec<usize>
§

XmulDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

XmulDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidXmulDat

Fields

§field: &'static str
§message: String
§

InvalidRunOutput

Fields

§field: &'static str
§message: String
§

ChiDatShape

Fields

§field: &'static str
§actual: usize
§expected: usize
§

ChiDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

ChiDatRowWidth

Fields

§line: usize
§actual: usize
§expected: &'static str
§

InvalidChiDat

Fields

§field: &'static str
§message: String
§

EelsDatShape

Fields

§field: &'static str
§actual: usize
§expected: usize
§

EelsDatTensorShape

Fields

§rows: usize
§cols: usize
§expected_rows: usize
§expected_cols: usize
§

EelsDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

EelsDatRowWidth

Fields

§line: usize
§actual: usize
§expected: &'static str
§

InvalidEelsDat

Fields

§field: &'static str
§message: String
§

DanesDatShape

Fields

§field: &'static str
§actual: usize
§expected: usize
§

DanesDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

DanesDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidDanesDat

Fields

§field: &'static str
§message: String
§

LdosDatShape

Fields

§field: &'static str
§rows: usize
§cols: usize
§expected_rows: usize
§expected_cols: &'static str
§

LdosDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

LdosDatRowWidth

Fields

§line: usize
§actual: usize
§expected: &'static str
§

InvalidLdosDat

Fields

§field: &'static str
§message: String
§

LogDatMissing

Fields

§field: &'static str
§

LogDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

InvalidLogDat

Fields

§field: &'static str
§message: String
§

InvalidMiscDat

Fields

§line: usize
§message: String
§

ComptonDatShape

Fields

§field: &'static str
§actual: usize
§expected: usize
§

ComptonDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

ComptonDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidComptonDat

Fields

§field: &'static str
§message: String
§

RhozzpDatShape

Fields

§field: &'static str
§actual: usize
§expected: usize
§

RhozzpDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

RhozzpDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidRhozzpDat

Fields

§field: &'static str
§message: String
§

RhorrpDensityShape

Fields

§field: &'static str
§rows: usize
§columns: usize
§expected: &'static str
§

RhorrpDensityLength

Fields

§field: &'static str
§actual: usize
§expected: usize
§

RhorrpDensityParse

Fields

§field: &'static str
§line: usize
§token: String
§

RhorrpDensityRowWidth

Fields

§line: usize
§actual: usize
§expected: String
§

InvalidRhorrpDensity

Fields

§field: &'static str
§message: String
§

InvalidRhorrpDensityBin

Fields

§message: String
§

InvalidRhorrpGgBin

Fields

§message: String
§

RhorrpDensityEvaluation

Fields

§

JzzpDatShape

Fields

§field: &'static str
§rows: usize
§cols: usize
§expected_rows: usize
§expected_cols: usize
§

JzzpDatMissing

Fields

§field: &'static str
§

JzzpDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

InvalidJzzpDat

Fields

§field: &'static str
§message: String
§

CrpaDatMissing

Fields

§field: &'static str
§

CrpaDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

CrpaDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidCrpaDat

Fields

§field: &'static str
§message: String
§

LossDatShape

Fields

§field: &'static str
§actual: usize
§expected: usize
§

LossDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

LossDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidLossDat

Fields

§field: &'static str
§message: String
§

BphlDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

BphlDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

BphlDatRecordCount

Fields

§actual: usize
§expected: usize
§

BphlDatMeshMismatch

Fields

§field: &'static str
§line: usize
§actual: f64
§expected: f64
§

BphlDatValidation

Fields

§

MpseDatShape

Fields

§field: &'static str
§actual: usize
§expected: usize
§

MpseDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

MpseDatRowWidth

Fields

§line: usize
§actual: usize
§expected: &'static str
§

InvalidMpseDat

Fields

§field: &'static str
§message: String
§

RixsDatShape

Fields

§field: &'static str
§rows: usize
§cols: usize
§expected_rows: usize
§expected_cols: &'static str
§

RixsDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

RixsDatRowWidth

Fields

§line: usize
§actual: usize
§expected: &'static str
§

InvalidRixsDat

Fields

§field: &'static str
§message: String
§

FmsBinShape

Fields

§field: &'static str
§actual: Vec<usize>
§expected: Vec<usize>
§

FmsBinMissing

Fields

§field: &'static str
§

FmsBinParse

Fields

§field: &'static str
§token: String
§

InvalidFmsBin

Fields

§field: &'static str
§message: String
§

FmslBinShape

Fields

§field: &'static str
§actual: Vec<usize>
§expected: Vec<usize>
§

InvalidFmslBin

Fields

§field: &'static str
§message: String
§

XseclBinShape

Fields

§field: &'static str
§actual: Vec<usize>
§expected: Vec<usize>
§

XseclBinMissing

Fields

§field: &'static str
§

XseclBinParse

Fields

§field: &'static str
§line: usize
§token: String
§

XseclBinRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidXseclBin

Fields

§field: &'static str
§message: String
§

FefflBinShape

Fields

§field: &'static str
§actual: Vec<usize>
§expected: Vec<usize>
§

InvalidFefflBin

Fields

§field: &'static str
§message: String
§

PathsDatMissing

Fields

§field: &'static str
§

PathsDatParse

Fields

§field: &'static str
§line: usize
§token: String
§

PathsDatRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidPathsDat

Fields

§field: &'static str
§message: String
§

DymShape

Fields

§field: &'static str
§actual: Vec<usize>
§expected: Vec<usize>
§

DymMissing

Fields

§field: &'static str
§

DymParse

Fields

§field: &'static str
§line: usize
§token: String
§

InvalidDym

Fields

§field: &'static str
§message: String
§

DymTrailingTokens

Fields

§count: usize
§

GridInpMissing

Fields

§field: &'static str
§

GridInpParse

Fields

§field: &'static str
§line: usize
§token: String
§

GridInpRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidGridInp

Fields

§field: &'static str
§message: String
§

ConfigInpMissing

Fields

§field: &'static str
§line: usize
§

ConfigInpParse

Fields

§field: &'static str
§line: usize
§token: String
§

ConfigInpRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidConfigInp

Fields

§field: &'static str
§message: String
§

SpringInpMissing

Fields

§field: &'static str
§

SpringInpParse

Fields

§field: &'static str
§line: usize
§token: String
§

SpringInpRowWidth

Fields

§line: usize
§actual: usize
§expected: usize
§

InvalidSpringInp

Fields

§field: &'static str
§message: String
§

InvalidPadWidth(usize)

§

PadMarker

Fields

§expected: char
§found: char
§

PadPayload

Fields

§payload_len: usize
§unit_len: usize
§

PadByte

Fields

§value: i32
§

PadIndex

Fields

§index: usize
§

InvalidPolarizationVector

Fields

§norm: f64
§

InvalidPolarizationGeometry

Fields

§dot: f64
§

PadUtf8

Fields

§

PadChunkUtf8

Fields

§source: Utf8Error

Trait Implementations§

Source§

impl Debug for IoError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for IoError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for IoError

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<Error> for IoError

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ByRef<T> for T

Source§

fn by_ref(&self) -> &T

Source§

impl<T> DistributionExt for T
where T: ?Sized,

Source§

fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> T
where Self: Distribution<T>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Imply<T> for U
where T: ?Sized, U: ?Sized,

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V