Struct file_protocol::protocol::ProtocolConfig [−][src]
pub struct ProtocolConfig { /* fields omitted */ }
Configuration data for Protocol
Methods
impl ProtocolConfig
[src]
impl ProtocolConfig
pub fn new(
storage_prefix: Option<String>,
chunk_size: usize,
hold_count: u16
) -> Self
[src]
pub fn new(
storage_prefix: Option<String>,
chunk_size: usize,
hold_count: u16
) -> Self
Creates new ProtocolConfig struct
Trait Implementations
impl Clone for ProtocolConfig
[src]
impl Clone for ProtocolConfig
fn clone(&self) -> ProtocolConfig
[src]
fn clone(&self) -> ProtocolConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ProtocolConfig
impl Send for ProtocolConfig
impl Sync for ProtocolConfig
impl Sync for ProtocolConfig