pub struct Protoc { /* private fields */ }
Expand description
Protoc command.
Implementations
New protoc
command from $PATH
New protoc
command from specified path
Examples
// Use a binary from `protoc-bin-vendored` crate
let protoc = protoc::Protoc::from_path(
protoc_bin_vendored::protoc_bin_path().unwrap());
Get default Args for this command.
Get default DescriptorSetOutArgs for this command.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Protoc
impl UnwindSafe for Protoc
Blanket Implementations
Mutably borrows from an owned value. Read more