pub enum Backend {
Protoc,
Buf,
}Expand description
Code generation backend selection.
Determines which tool will be used to generate Python code from proto files.
Variants§
Protoc
Use the standard protoc compiler for code generation. This is the currently supported and default backend.
Buf
Use buf generate for code generation. This backend is planned for future versions but not yet implemented.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnwindSafe for Backend
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