pub struct GvproxyParams {
pub binary_path: PathBuf,
pub extra_args: Vec<String>,
pub max_frame_bytes: usize,
}Expand description
Inputs for GvproxyBackend::start.
Fields§
§binary_path: PathBufPath to the bundled gvproxy binary.
extra_args: Vec<String>Extra arguments after the squib-supplied defaults. Empty for the inner-dev-loop case.
max_frame_bytes: usizeMaximum accepted frame body, in bytes. Defends against a malformed length prefix asking the reader to allocate gigabytes. Default 65536 (well above standard Ethernet jumbo).
Implementations§
Trait Implementations§
Source§impl Clone for GvproxyParams
impl Clone for GvproxyParams
Source§fn clone(&self) -> GvproxyParams
fn clone(&self) -> GvproxyParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GvproxyParams
impl RefUnwindSafe for GvproxyParams
impl Send for GvproxyParams
impl Sync for GvproxyParams
impl Unpin for GvproxyParams
impl UnsafeUnpin for GvproxyParams
impl UnwindSafe for GvproxyParams
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