pub enum C3dWriteError {
Show 14 variants
WriteError(PathBuf, Error),
InvalidFileExtension(String),
InvalidFilePath(PathBuf),
WriteHeaderError(Error),
WriteParametersError(Error),
WriteDataError(Error),
GroupNameTooLong(String),
GroupNameNotAscii(String),
GroupDescriptionTooLong(String),
ParameterNameTooLong(String),
ParameterNameNotAscii(String),
InvalidParameterDimensions(String),
ParameterDescriptionTooLong(String),
InvalidForcePlatformInfo(String),
}Expand description
Reports errors that occurred while writing a C3D file.
The error type is returned by the write method.
Variants§
WriteError(PathBuf, Error)
InvalidFileExtension(String)
InvalidFilePath(PathBuf)
WriteHeaderError(Error)
WriteParametersError(Error)
WriteDataError(Error)
GroupNameTooLong(String)
GroupNameNotAscii(String)
GroupDescriptionTooLong(String)
ParameterNameTooLong(String)
ParameterNameNotAscii(String)
InvalidParameterDimensions(String)
ParameterDescriptionTooLong(String)
InvalidForcePlatformInfo(String)
Trait Implementations§
Source§impl Debug for C3dWriteError
impl Debug for C3dWriteError
Source§impl Display for C3dWriteError
impl Display for C3dWriteError
Source§impl Error for C3dWriteError
impl Error for C3dWriteError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for C3dWriteError
impl !RefUnwindSafe for C3dWriteError
impl Send for C3dWriteError
impl Sync for C3dWriteError
impl Unpin for C3dWriteError
impl !UnwindSafe for C3dWriteError
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
Mutably borrows from an owned value. Read more