pub struct SidecarConfig {
pub grpc_port: u16,
pub python_path: String,
pub role: SidecarRole,
pub auto_start: bool,
pub restart_on_crash: bool,
}Expand description
Python sidecar configuration.
Fields§
§grpc_port: u16§python_path: String§role: SidecarRole§auto_start: bool§restart_on_crash: boolImplementations§
Source§impl SidecarConfig
impl SidecarConfig
pub fn supports_compat_dispatch(&self) -> bool
pub fn supports_experimental_lane(&self) -> bool
pub fn is_disabled(&self) -> bool
Trait Implementations§
Source§impl Clone for SidecarConfig
impl Clone for SidecarConfig
Source§fn clone(&self) -> SidecarConfig
fn clone(&self) -> SidecarConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SidecarConfig
impl Debug for SidecarConfig
Source§impl<'de> Deserialize<'de> for SidecarConfig
impl<'de> Deserialize<'de> for SidecarConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SidecarConfig
impl RefUnwindSafe for SidecarConfig
impl Send for SidecarConfig
impl Sync for SidecarConfig
impl Unpin for SidecarConfig
impl UnsafeUnpin for SidecarConfig
impl UnwindSafe for SidecarConfig
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