pub enum PrintErr {
CSSPrintError,
}Expand description
Hoisted from css_parser.rs (gated). Single-variant error type returned by
every to_css path; the kind lives in Printer.error_kind (PrinterError)
— this is just the bubbled signal.
Variants§
CSSPrintError
Implementations§
Trait Implementations§
impl Copy for PrintErr
impl Eq for PrintErr
Source§impl Error for PrintErr
impl Error for PrintErr
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()
impl StructuralPartialEq for PrintErr
Auto Trait Implementations§
impl Freeze for PrintErr
impl RefUnwindSafe for PrintErr
impl Send for PrintErr
impl Sync for PrintErr
impl Unpin for PrintErr
impl UnsafeUnpin for PrintErr
impl UnwindSafe for PrintErr
Blanket Implementations§
Source§impl<T> AsCtxPtr for Twhere
T: ?Sized,
impl<T> AsCtxPtr for Twhere
T: ?Sized,
Source§fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
self’s address as *mut Self for deferred-task / scopeguard /
RefPtr::init_ref ctx slots. The closures/trampolines deref it as shared
(&*p) — every method they reach is &self post-R-2, so no write
provenance is required; the *mut spelling is purely to match the
existing HasAutoFlush / RefCount ABI.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