Struct shout::ShoutConnBuilder
[−]
[src]
pub struct ShoutConnBuilder { /* fields omitted */ }
A shout connection builder. All desired values should be set in this before it is built into a
ShoutConn
. All validation of parameters and FFI calls happen on build.
Methods
impl ShoutConnBuilder
[src]
fn new() -> ShoutConnBuilder
fn add_audio_info(self, audio_info: ShoutAudioInfo) -> ShoutConnBuilder
fn add_meta(self, meta: ShoutMeta) -> ShoutConnBuilder
fn build(self) -> Result<ShoutConn, ShoutConnError>
impl ShoutConnBuilder
[src]
fn host(self, host: String) -> ShoutConnBuilder
fn port(self, port: u16) -> ShoutConnBuilder
fn agent(self, agent: String) -> ShoutConnBuilder
fn tls(self, tls: ShoutTLS) -> ShoutConnBuilder
fn ca_directory(self, ca_directory: String) -> ShoutConnBuilder
fn ca_file(self, ca_file: String) -> ShoutConnBuilder
fn allowed_ciphers(self, allowed_ciphers: String) -> ShoutConnBuilder
fn user(self, user: String) -> ShoutConnBuilder
fn password(self, password: String) -> ShoutConnBuilder
fn client_cert(self, client_cert: String) -> ShoutConnBuilder
fn mount(self, mount: String) -> ShoutConnBuilder
fn dumpfile(self, dumpfile: String) -> ShoutConnBuilder
fn public(self, public: u32) -> ShoutConnBuilder
fn format(self, format: ShoutFormat) -> ShoutConnBuilder
fn protocol(self, protocol: ShoutProtocol) -> ShoutConnBuilder
fn nonblocking(self, nonblocking: u32) -> ShoutConnBuilder
Trait Implementations
impl Default for ShoutConnBuilder
[src]
fn default() -> ShoutConnBuilder
Returns the "default value" for a type. Read more