Struct smpp::smsc::smsc_config::SmscConfig [−][src]
pub struct SmscConfig { pub bind_address: String, pub max_open_sockets: usize, pub system_id: String, }
Expand description
Short Message Service Center (SMSC) in Rust
Fields
bind_address: String
Address to bind on
max_open_sockets: usize
Maximum number of sockets that can be open
system_id: String
system_id used as an identifier of the SMSC
Trait Implementations
fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
Parse from iterator, exit on error
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
Parse from iterator, return Err on error.
It’s common to have an “application context” struct (sometimes called config) that represents all the normalized values after being processed by the CLI. Read more
Auto Trait Implementations
impl RefUnwindSafe for SmscConfig
impl Send for SmscConfig
impl Sync for SmscConfig
impl Unpin for SmscConfig
impl UnwindSafe for SmscConfig
Blanket Implementations
Mutably borrows from an owned value. Read more