Enum obsidian_export::ExportError [−][src]
ExportError represents all errors which may be returned when using this crate.
Variants (Non-exhaustive)
This occurs when a read IO operation fails.
This occurs when a write IO operation fails.
This occurs when an error is encountered while trying to walk a directory.
This occurs when an operation is requested on a file or directory which does not exist.
Fields of PathDoesNotExist
path: PathBuf
This error may occur when invalid UTF8 is encountered.
Currently, operations which assume UTF8 perform lossy encoding however.
Fields of CharacterEncodingError
source: Utf8Error
This error occurs when embedded notes are too deeply nested or cause an infinite loop.
When this happens, file_tree
contains a list of all the files which were processed
leading up to this error.
This occurs when a file fails to export successfully.
Fields of FileExportError
path: PathBuf
source: Box<ExportError>
Trait Implementations
impl Debug for ExportError
[src]
impl Display for ExportError
[src]
impl Error for ExportError where
Self: Debug + Display,
[src]
Self: Debug + Display,
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
impl ErrorCompat for ExportError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ExportError
[src]
impl Send for ExportError
[src]
impl Sync for ExportError
[src]
impl Unpin for ExportError
[src]
impl !UnwindSafe for ExportError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsErrorSource for T where
T: 'static + Error,
[src]
T: 'static + Error,
pub fn as_error_source(&self) -> &(dyn Error + 'static)
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,