pub enum ManualError {
Read {
path: PathBuf,
message: String,
},
Decompression {
path: PathBuf,
message: String,
},
Limit {
path: PathBuf,
message: String,
},
UnsafePath {
path: PathBuf,
message: String,
},
Redirect {
path: PathBuf,
message: String,
},
Parse(ParseError),
}Expand description
Failure produced by ManT’s source policy or by the underlying roff parser.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ManualError
impl Clone for ManualError
Source§fn clone(&self) -> ManualError
fn clone(&self) -> ManualError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ManualError
impl Debug for ManualError
Source§impl Display for ManualError
impl Display for ManualError
impl Eq for ManualError
Source§impl Error for ManualError
impl Error for ManualError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<ParseError> for ManualError
impl From<ParseError> for ManualError
Source§fn from(error: ParseError) -> Self
fn from(error: ParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ManualError
impl PartialEq for ManualError
impl StructuralPartialEq for ManualError
Auto Trait Implementations§
impl Freeze for ManualError
impl RefUnwindSafe for ManualError
impl Send for ManualError
impl Sync for ManualError
impl Unpin for ManualError
impl UnsafeUnpin for ManualError
impl UnwindSafe for ManualError
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