#[non_exhaustive]pub enum WarningCode {
Show 18 variants
MasterTextMissing,
ManufacturerMissing,
AreaTocTooLarge,
AreaToc1Unreadable,
AreaToc2Unreadable,
AreaTocCopiesDiffer,
AreaTocUnreadable,
AreaSignatureInvalid,
AreaTrackListMissing,
AreaTocMalformed,
AreaAudioRangeReversed,
TrackTextOffsetInvalid,
TrackTextTypeUnknown,
TrackPastPlaytime,
TrackLsnOutsideArea,
AudioSectorMalformed,
MasterTocCopiesDiffer,
SampleFrequencyUnknown,
}Expand description
The warning codes of specification 7, 7.7.2 and 7.7.3.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
MasterTextMissing
No SACDText at LSN 511 and the text channel count is above 0.
ManufacturerMissing
No SACD_Man at LSN 519.
AreaTocTooLarge
Area TOC size above 128 sectors (area skipped).
AreaToc1Unreadable
TOC-1 cannot be read.
AreaToc2Unreadable
TOC-2 is set but cannot be read.
AreaTocCopiesDiffer
Both copies were read and differ.
AreaTocUnreadable
Neither TOC copy can be read (area skipped).
AreaSignatureInvalid
The chosen copy’s signature is neither TWOCHTOC nor MULCHTOC (area skipped).
AreaTrackListMissing
No SACDTRL1 or no SACDTRL2 in the sub-structure walk (area skipped).
AreaTocMalformed
A SACD_IGL extends past the end of the area TOC (area skipped).
AreaAudioRangeReversed
The last audio LSN is below the first (area skipped).
TrackTextOffsetInvalid
A track text offset points too close to the end of the area TOC.
TrackTextTypeUnknown
A track text item of unknown type with a non-empty string.
TrackPastPlaytime
A track ends after the area play time; it was clamped.
TrackLsnOutsideArea
A track start LSN lies outside the area’s audio range.
AudioSectorMalformed
A malformed audio sector (optional).
MasterTocCopiesDiffer
A master TOC copy at LSN 520 or 530 differs from LSN 510 (optional; reported at most once, specification 1, 1.5.1 item 3).
SampleFrequencyUnknown
A sample frequency code other than 4 (optional).
Implementations§
Source§impl WarningCode
impl WarningCode
Trait Implementations§
Source§impl Clone for WarningCode
impl Clone for WarningCode
impl Copy for WarningCode
Source§impl Debug for WarningCode
impl Debug for WarningCode
Source§impl Display for WarningCode
impl Display for WarningCode
impl Eq for WarningCode
Source§impl Hash for WarningCode
impl Hash for WarningCode
Source§impl Ord for WarningCode
impl Ord for WarningCode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for WarningCode
impl PartialEq for WarningCode
Source§impl PartialOrd for WarningCode
impl PartialOrd for WarningCode
impl StructuralPartialEq for WarningCode
Auto Trait Implementations§
impl Forget for WarningCode
impl Freeze for WarningCode
impl Move for WarningCode
impl RefUnwindSafe for WarningCode
impl Send for WarningCode
impl Sync for WarningCode
impl Unpin for WarningCode
impl UnsafeUnpin for WarningCode
impl UnwindSafe for WarningCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
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