pub enum ProtoCompileError {
ProtoNotFound(PathBuf),
Io(Error),
VendoredProtoc(Error),
ProtocFailed {
status: Option<i32>,
stderr: String,
},
DescriptorDecode(String),
}Variants§
Trait Implementations§
Source§impl Debug for ProtoCompileError
impl Debug for ProtoCompileError
Source§impl Display for ProtoCompileError
impl Display for ProtoCompileError
Source§impl Error for ProtoCompileError
impl Error for ProtoCompileError
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()
Source§impl From<Error> for ProtoCompileError
impl From<Error> for ProtoCompileError
Auto Trait Implementations§
impl !RefUnwindSafe for ProtoCompileError
impl !UnwindSafe for ProtoCompileError
impl Freeze for ProtoCompileError
impl Send for ProtoCompileError
impl Sync for ProtoCompileError
impl Unpin for ProtoCompileError
impl UnsafeUnpin for ProtoCompileError
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