pub struct FileBrowserSession {Show 20 fields
pub alias: String,
pub askpass: Option<String>,
pub active_pane: BrowserPane,
pub local_path: PathBuf,
pub local_entries: Vec<FileEntry>,
pub local_list_state: ListState,
pub local_selected: HashSet<String>,
pub local_error: Option<String>,
pub remote_path: String,
pub remote_entries: Vec<FileEntry>,
pub remote_list_state: ListState,
pub remote_selected: HashSet<String>,
pub remote_error: Option<String>,
pub remote_loading: bool,
pub show_hidden: bool,
pub sort: BrowserSort,
pub confirm_copy: Option<CopyRequest>,
pub transferring: Option<String>,
pub transfer_error: Option<String>,
pub connection_recorded: bool,
}Expand description
Per-host overlay session state; alive while the file browser is open.
Fields§
§alias: String§askpass: Option<String>§active_pane: BrowserPane§local_path: PathBuf§local_entries: Vec<FileEntry>§local_list_state: ListState§local_selected: HashSet<String>§local_error: Option<String>§remote_path: String§remote_entries: Vec<FileEntry>§remote_list_state: ListState§remote_selected: HashSet<String>§remote_error: Option<String>§remote_loading: bool§sort: BrowserSort§confirm_copy: Option<CopyRequest>§transferring: Option<String>§transfer_error: Option<String>§connection_recorded: boolAuto Trait Implementations§
impl Freeze for FileBrowserSession
impl RefUnwindSafe for FileBrowserSession
impl Send for FileBrowserSession
impl Sync for FileBrowserSession
impl Unpin for FileBrowserSession
impl UnsafeUnpin for FileBrowserSession
impl UnwindSafe for FileBrowserSession
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more