pub struct UnreadableUnit {
pub key: String,
pub live_in: Vec<String>,
pub declared: bool,
pub in_ledger: bool,
pub paths: Vec<String>,
pub longest: usize,
}Expand description
A unit with at least one live file the host could not serve
(ObservedFiles::unreadable): on a Windows sftp host, a host path of
LONG_PATH_LIMIT (240) characters or more. The whole unit is
unreadable, in both collections: it is never planned from its readable
files, never treated as absent and never deleted.
Fields§
§key: StringThe unit key, as an entry would carry it.
live_in: Vec<String>Where the unit has live files, readable or not: the ordered subset of
["core", "mode"].
declared: boolThe declared tree renders this unit.
in_ledger: boolThe declared-names ledger lists a file of this unit.
paths: Vec<String>The collection-relative paths that could not be read, byte-sorted.
longest: usizeThe longest host path length among paths, in characters.
Trait Implementations§
Source§impl Clone for UnreadableUnit
impl Clone for UnreadableUnit
Source§impl Debug for UnreadableUnit
impl Debug for UnreadableUnit
impl Eq for UnreadableUnit
Source§impl PartialEq for UnreadableUnit
impl PartialEq for UnreadableUnit
Source§impl Serialize for UnreadableUnit
impl Serialize for UnreadableUnit
impl StructuralPartialEq for UnreadableUnit
Auto Trait Implementations§
impl Freeze for UnreadableUnit
impl RefUnwindSafe for UnreadableUnit
impl Send for UnreadableUnit
impl Sync for UnreadableUnit
impl Unpin for UnreadableUnit
impl UnsafeUnpin for UnreadableUnit
impl UnwindSafe for UnreadableUnit
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.