Struct mongo_driver::BsoncError
[−]
[src]
pub struct BsoncError { /* fields omitted */ }
Error in the underlying C driver.
Methods
impl BsoncError
[src]
fn empty() -> BsoncError
fn is_empty(&self) -> bool
Wether the error has content.
fn domain(&self) -> MongoErrorDomain
The error's domain.
fn code(&self) -> MongoErrorCode
The error's code.
fn get_message(&self) -> Cow<str>
The error's message.