Enum notion_client::NotionClientError 
source · pub enum NotionClientError {
    FailedToSerialize {
        source: Error,
    },
    FailedToDeserialize {
        source: Error,
    },
    FailedToRequest {
        source: Error,
    },
    FailedToText {
        source: Error,
    },
    FailedToBuildRequest {
        source: Error,
    },
    InvalidStatusCode {
        error: Error,
    },
    InvalidHeader {
        source: InvalidHeaderValue,
    },
}Variants§
FailedToSerialize
FailedToDeserialize
FailedToRequest
FailedToText
FailedToBuildRequest
InvalidStatusCode
InvalidHeader
Fields
§
source: InvalidHeaderValueTrait Implementations§
source§impl Debug for NotionClientError
 
impl Debug for NotionClientError
source§impl Display for NotionClientError
 
impl Display for NotionClientError
source§impl Error for NotionClientError
 
impl Error for NotionClientError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for NotionClientError
impl Send for NotionClientError
impl Sync for NotionClientError
impl Unpin for NotionClientError
impl !UnwindSafe for NotionClientError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more