pub struct FileExt;
Implementations
sourceimpl FileExt
impl FileExt
pub fn read_file_partially(
filepath: &str,
range: &Range
) -> Result<Vec<u8>, String>
pub fn read_file(filepath: &str) -> Result<Vec<u8>, String>
pub fn file_modified_utc(filepath: &str) -> Result<u128, String>
pub fn get_static_filepath(request_uri: &str) -> Result<String, String>
Auto Trait Implementations
impl RefUnwindSafe for FileExt
impl Send for FileExt
impl Sync for FileExt
impl Unpin for FileExt
impl UnwindSafe for FileExt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more