Struct fast_log::plugin::file_split::RawFile
source · pub struct RawFile {
pub inner: RefCell<File>,
}
Expand description
only use File
Fields§
§inner: RefCell<File>
Trait Implementations§
source§impl SplitFile for RawFile
impl SplitFile for RawFile
fn new(path: &str, _temp_size: LogSize) -> Result<Self, LogError>where
Self: Sized,
fn seek(&self, pos: SeekFrom) -> Result<u64>
fn write(&self, buf: &[u8]) -> Result<usize>
fn truncate(&self) -> Result<()>
fn flush(&self)
fn len(&self) -> usize
fn offset(&self) -> usize
Auto Trait Implementations§
impl !RefUnwindSafe for RawFile
impl Send for RawFile
impl !Sync for RawFile
impl Unpin for RawFile
impl UnwindSafe for RawFile
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