pub struct StdioConfig {
pub max_message_size: usize,
pub validate_messages: bool,
}Expand description
Configuration for stdio transport
Fields§
§max_message_size: usizeMaximum message size in bytes (default: 10MB)
validate_messages: boolEnable message validation
Trait Implementations§
Source§impl Clone for StdioConfig
impl Clone for StdioConfig
Source§fn clone(&self) -> StdioConfig
fn clone(&self) -> StdioConfig
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 StdioConfig
impl Debug for StdioConfig
Auto Trait Implementations§
impl Freeze for StdioConfig
impl RefUnwindSafe for StdioConfig
impl Send for StdioConfig
impl Sync for StdioConfig
impl Unpin for StdioConfig
impl UnwindSafe for StdioConfig
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