Struct protoc::Protoc [−][src]
pub struct Protoc { /* fields omitted */ }
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());
👎 Deprecated since 2.13: Use ProtocLangOut instead
👎 Deprecated since 2.13:
Use ProtocLangOut instead
Execute configured protoc
with given args
Execute protoc --descriptor_set_out=
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Protoc
impl UnwindSafe for Protoc
Blanket Implementations
Mutably borrows from an owned value. Read more