pub struct StreamableConfig {
pub bind_addr: String,
pub stateful_mode: bool,
pub quiet: bool,
}Expand description
Streamable HTTP server configuration
Fields§
§bind_addr: StringBind address for the HTTP server
stateful_mode: boolEnable stateful mode (session management)
quiet: boolQuiet mode (suppress startup messages)
Trait Implementations§
Source§impl Clone for StreamableConfig
impl Clone for StreamableConfig
Source§fn clone(&self) -> StreamableConfig
fn clone(&self) -> StreamableConfig
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 StreamableConfig
impl Debug for StreamableConfig
Source§impl Default for StreamableConfig
impl Default for StreamableConfig
Source§impl<'de> Deserialize<'de> for StreamableConfig
impl<'de> Deserialize<'de> for StreamableConfig
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 StreamableConfig
impl RefUnwindSafe for StreamableConfig
impl Send for StreamableConfig
impl Sync for StreamableConfig
impl Unpin for StreamableConfig
impl UnsafeUnpin for StreamableConfig
impl UnwindSafe for StreamableConfig
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