pub struct FileClient {
pub inner: Option<FileClientInner>,
}Fields§
§inner: Option<FileClientInner>Implementations§
Source§impl FileClient
impl FileClient
pub fn init(&mut self, _cx: &mut Cx, roots: FileSystemRoots)
pub fn load_file_tree(&mut self)
pub fn load_snapshot_image(&mut self, root: &str, hash: &str)
pub fn send_request(&self, request: FileRequest)
pub fn request_sender(&mut self) -> impl FnMut(FileRequest) + '_
pub fn poll_messages(&self) -> Vec<FileClientMessage>
Trait Implementations§
Source§impl Default for FileClient
impl Default for FileClient
Source§fn default() -> FileClient
fn default() -> FileClient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileClient
impl RefUnwindSafe for FileClient
impl Send for FileClient
impl !Sync for FileClient
impl Unpin for FileClient
impl UnwindSafe for FileClient
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