pub enum BbcodeImportError {
InputTooLarge {
bytes: usize,
maximum: usize,
},
SentinelSpaceExhausted,
}Expand description
Reason a BBCode import could not complete.
Variants§
InputTooLarge
Input exceeds the supported byte limit.
SentinelSpaceExhausted
No unused private-use sentinel remained for protecting literal content.
Trait Implementations§
Source§impl Clone for BbcodeImportError
impl Clone for BbcodeImportError
Source§impl Debug for BbcodeImportError
impl Debug for BbcodeImportError
Source§impl Display for BbcodeImportError
impl Display for BbcodeImportError
impl Eq for BbcodeImportError
Source§impl Error for BbcodeImportError
impl Error for BbcodeImportError
1.30.0 · 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 PartialEq for BbcodeImportError
impl PartialEq for BbcodeImportError
impl StructuralPartialEq for BbcodeImportError
Auto Trait Implementations§
impl Forget for BbcodeImportError
impl Freeze for BbcodeImportError
impl Move for BbcodeImportError
impl RefUnwindSafe for BbcodeImportError
impl Send for BbcodeImportError
impl Sync for BbcodeImportError
impl Unpin for BbcodeImportError
impl UnsafeUnpin for BbcodeImportError
impl UnwindSafe for BbcodeImportError
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