Struct unrar::archive::Archive [] [src]

pub struct Archive<'a> {
    // some fields omitted
}

Methods

impl<'a> Archive<'a>
[src]

fn new(file: &'a str) -> Self

fn with_password(file: &'a str, password: &'a str) -> Self

fn set_comments(&mut self, comments: &'a mut Vec<u8>)

fn list(self) -> UnrarResult<OpenArchive>

fn list_split(self) -> UnrarResult<OpenArchive>

fn extract_to(self, path: &str) -> UnrarResult<OpenArchive>

fn test(self) -> UnrarResult<OpenArchive>

fn open(self, mode: OpenMode, path: Option<&str>, operation: Operation) -> UnrarResult<OpenArchive>