Enum fbxcel::pull_parser::Warning
source · [−]#[non_exhaustive]
pub enum Warning {
EmptyNodeName,
ExtraNodeEndMarker,
IncorrectBooleanRepresentation,
InvalidFooterPaddingLength(usize, usize),
MissingNodeEndMarker,
UnexpectedFooterFieldValue,
}
Expand description
Warning.
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.
EmptyNodeName
Node name is empty.
ExtraNodeEndMarker
Extra (unexpected) node end marker found.
IncorrectBooleanRepresentation
Incorrect boolean representation.
Boolean value in node attributes should be some prescribed value
(for example b'T'
and b'Y'
for FBX 7.4).
Official SDK and tools may emit those values correctly, but some
third-party exporters emits them wrongly with 0x00
and 0x01
, and
those will be ignored by official SDK and tools.
InvalidFooterPaddingLength(usize, usize)
Footer padding length is invalid.
MissingNodeEndMarker
Missing a node end marker where the marker is expected.
UnexpectedFooterFieldValue
Unexpected value for footer fields (mainly for unknown fields).
Trait Implementations
sourceimpl Error for Warning
impl Error for Warning
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnwindSafe for Warning
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