pub struct PhabStorageFilesystem {
pub filepath: PathBuf,
/* private fields */
}
Fields§
§filepath: PathBuf
Implementations§
Source§impl PhabStorageFilesystem
impl PhabStorageFilesystem
pub fn new(filepath: impl AsRef<Path>) -> ResultAnyError<PhabStorageFilesystem>
Trait Implementations§
Source§impl PhabStorage for PhabStorageFilesystem
impl PhabStorage for PhabStorageFilesystem
fn add_to_watchlist( &mut self, watchlist_id: &str, task: &Task, ) -> ResultAnyError<()>
fn create_watchlist( &mut self, watchlist: &Watchlist, ) -> ResultAnyError<Watchlist>
fn get_watchlists(&mut self) -> ResultAnyError<Vec<Watchlist>>
fn get_watchlist_by_id( &mut self, watchlist_id: &str, ) -> ResultAnyError<Option<Watchlist>>
Auto Trait Implementations§
impl Freeze for PhabStorageFilesystem
impl RefUnwindSafe for PhabStorageFilesystem
impl Send for PhabStorageFilesystem
impl Sync for PhabStorageFilesystem
impl Unpin for PhabStorageFilesystem
impl UnwindSafe for PhabStorageFilesystem
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