pub struct RemoteDirectory {
pub directory: RemoteFile,
pub entries: Arc<[RemoteEntry]>,
pub visible: Vec<usize>,
pub filter: String,
pub connection: Option<ConnectionLease>,
pub return_to: Option<ReturnPoint>,
}Fields§
§directory: RemoteFile§entries: Arc<[RemoteEntry]>§visible: Vec<usize>§filter: String§connection: Option<ConnectionLease>§return_to: Option<ReturnPoint>Implementations§
Source§impl RemoteDirectory
impl RemoteDirectory
pub fn text(&self) -> String
pub fn parent(&self) -> Result<Option<RemoteFile>, AddressError>
pub fn entry(&self, line: LineIndex) -> Option<&RemoteEntry>
Trait Implementations§
Source§impl Clone for RemoteDirectory
impl Clone for RemoteDirectory
Source§fn clone(&self) -> RemoteDirectory
fn clone(&self) -> RemoteDirectory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for RemoteDirectory
impl !UnwindSafe for RemoteDirectory
impl Freeze for RemoteDirectory
impl Send for RemoteDirectory
impl Sync for RemoteDirectory
impl Unpin for RemoteDirectory
impl UnsafeUnpin for RemoteDirectory
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