pub struct Journal { /* private fields */ }
Implementations§
Source§impl Journal
impl Journal
pub fn new(volume: Volume, options: JournalOptions) -> Result<Journal, Error>
pub fn read(&mut self) -> Result<Vec<UsnRecord>, Error>
pub fn read_sized<const BUFFER_SIZE: usize>( &mut self, ) -> Result<Vec<UsnRecord>, Error>
pub fn match_rename(&self, record: &UsnRecord) -> Option<PathBuf>
pub fn trim_history(&mut self, min_usn: Option<i64>)
pub fn get_next_usn(&self) -> i64
pub fn get_reason_str(reason: u32) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Journal
impl RefUnwindSafe for Journal
impl !Send for Journal
impl !Sync for Journal
impl Unpin for Journal
impl UnwindSafe for Journal
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