pub enum ParsePixelError {
NulError(NulError),
UnknownFormat,
}Variants§
trait 实现§
源代码§impl Debug for ParsePixelError
impl Debug for ParsePixelError
源代码§impl Display for ParsePixelError
impl Display for ParsePixelError
源代码§impl Error for ParsePixelError
impl Error for ParsePixelError
源代码§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
1.30.0 · 源代码§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. 阅读更多
1.0.0 · 源代码§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
源代码§impl From<NulError> for ParsePixelError
impl From<NulError> for ParsePixelError
源代码§fn from(x: NulError) -> ParsePixelError
fn from(x: NulError) -> ParsePixelError
Converts to this type from the input type.