pub struct ReadFileTool { /* private fields */ }Expand description
Tool for reading the entire content of a file.
Implementations§
Source§impl ReadFileTool
impl ReadFileTool
pub fn new(fs: FilesystemGateway) -> Self
Trait Implementations§
Source§impl Clone for ReadFileTool
impl Clone for ReadFileTool
Source§fn clone(&self) -> ReadFileTool
fn clone(&self) -> ReadFileTool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReadFileTool
impl RefUnwindSafe for ReadFileTool
impl Send for ReadFileTool
impl Sync for ReadFileTool
impl Unpin for ReadFileTool
impl UnwindSafe for ReadFileTool
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