Skip to main content

NEEDS_PASSWORD

Constant NEEDS_PASSWORD 

Source
pub const NEEDS_PASSWORD: &str = "the PDF is password-protected";
Expand description

The message of the error Document::open returns for a PDF that needs a password, and of the one for a password that doesn’t open it.