pub fn result(&mut self) -> BuildResult<&mut Easy> {
        if !self.has_errors() {
            Ok(&mut self.easy)
        } else {
            let mut s = String::new();
            for e in &self.errors {
                s.push_str(e.description());
                s.push('\n');
            }
            Err(BuildError::from(s))
        }
    }
/// Finalize the builder and returns mutable reference of `Easy` wrapped inside a `Result`.
///
/// # Examples
///
/// ```
/// use curl_easybuilder::EasyBuilder;
///
/// let mut b = EasyBuilder::new();
/// assert!(b.result().is_ok());
/// ```
Finalize the builder and returns mutable reference of `Easy` wrapped inside a `Result`.
Finalize the builder and returns mutable reference of ` Easy ` wrapped inside a ` Result ` .
pub fn result(&mut self) -> BuildResult<&mut Easy> {
        if !self.has_errors() {
            Ok(&mut self.easy)
        } else {
            let mut s = String::new();
            for e in &self.errors {
                s.push_str(e.description());
                s.push('\n');
            }
            Err(BuildError::from(s))
        }
    }
pub fn result ( & mut self ) -> BuildResult < & mut Easy > { if ! self . has_errors ( ) { Ok ( & mut self . easy ) } else { let mut s = String :: new ( ) ; for e in & self . errors { s . push_str ( e . description ( ) ) ; s . push ( '\n' ) ; } Err ( BuildError :: from ( s ) ) } }
Finalize the builder and returns mutable reference of `Easy` wrapped inside a `Result`.
Finalize the builder and returns mutable reference of ` Easy ` wrapped inside a ` Result ` .
&mut self
&mut self
examples
```
use curl_easybuilder::EasyBuilder.

let mut b = EasyBuilder::new();
assert!(b.result().is_ok());
```
` ` ` use curl_easybuilder :: EasyBuilder . let mut b = EasyBuilder :: new () ; assert! ( b . result () . is_ok () ) ; ` ` `