pub struct ListenerConfig {
pub listener_type: ListenerType,
pub timeout: u64,
pub socket_path: Option<String>,
}Expand description
Configuration of the Listener
Fields§
§listener_type: ListenerTypeType of the Listener
timeout: u64Timeout of the Listener before the connection errors out (in milliseconds)
socket_path: Option<String>Path of the Unix Domain socket
Trait Implementations§
Source§impl Clone for ListenerConfig
impl Clone for ListenerConfig
Source§fn clone(&self) -> ListenerConfig
fn clone(&self) -> ListenerConfig
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 ListenerConfig
impl Debug for ListenerConfig
Source§impl<'de> Deserialize<'de> for ListenerConfig
impl<'de> Deserialize<'de> for ListenerConfig
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 ListenerConfig
impl RefUnwindSafe for ListenerConfig
impl Send for ListenerConfig
impl Sync for ListenerConfig
impl Unpin for ListenerConfig
impl UnwindSafe for ListenerConfig
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