Trait virtual_fs::FileSystems

source ·
pub trait FileSystems<'a>: 'a {
    type Iter: IntoIterator<Item = &'a (dyn FileSystem + Send)> + Send + 'a;

    // Required method
    fn filesystems(&'a self) -> Self::Iter;
}
Expand description

A chain of one or more FileSystems.

Required Associated Types§

source

type Iter: IntoIterator<Item = &'a (dyn FileSystem + Send)> + Send + 'a

Required Methods§

source

fn filesystems(&'a self) -> Self::Iter

Get something that can be used to iterate over the underlying filesystems.

Implementations on Foreign Types§

source§

impl<'a> FileSystems<'a> for ()

§

type Iter = Empty<&'a (dyn FileSystem + Send + 'static)>

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, 'b, S> FileSystems<'a> for &'b S
where S: FileSystems<'a> + 'b, 'b: 'a,

§

type Iter = <S as FileSystems<'a>>::Iter

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16> FileSystems<'a> for (F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16)
where F1: FileSystem, F2: FileSystem, F3: FileSystem, F4: FileSystem, F5: FileSystem, F6: FileSystem, F7: FileSystem, F8: FileSystem, F9: FileSystem, F10: FileSystem, F11: FileSystem, F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 16]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16> FileSystems<'a> for (F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16)
where F2: FileSystem, F3: FileSystem, F4: FileSystem, F5: FileSystem, F6: FileSystem, F7: FileSystem, F8: FileSystem, F9: FileSystem, F10: FileSystem, F11: FileSystem, F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 15]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16> FileSystems<'a> for (F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16)
where F3: FileSystem, F4: FileSystem, F5: FileSystem, F6: FileSystem, F7: FileSystem, F8: FileSystem, F9: FileSystem, F10: FileSystem, F11: FileSystem, F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 14]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16> FileSystems<'a> for (F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16)
where F4: FileSystem, F5: FileSystem, F6: FileSystem, F7: FileSystem, F8: FileSystem, F9: FileSystem, F10: FileSystem, F11: FileSystem, F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 13]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16> FileSystems<'a> for (F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16)
where F5: FileSystem, F6: FileSystem, F7: FileSystem, F8: FileSystem, F9: FileSystem, F10: FileSystem, F11: FileSystem, F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 12]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16> FileSystems<'a> for (F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16)
where F6: FileSystem, F7: FileSystem, F8: FileSystem, F9: FileSystem, F10: FileSystem, F11: FileSystem, F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 11]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16> FileSystems<'a> for (F7, F8, F9, F10, F11, F12, F13, F14, F15, F16)
where F7: FileSystem, F8: FileSystem, F9: FileSystem, F10: FileSystem, F11: FileSystem, F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 10]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F8, F9, F10, F11, F12, F13, F14, F15, F16> FileSystems<'a> for (F8, F9, F10, F11, F12, F13, F14, F15, F16)
where F8: FileSystem, F9: FileSystem, F10: FileSystem, F11: FileSystem, F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 9]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F9, F10, F11, F12, F13, F14, F15, F16> FileSystems<'a> for (F9, F10, F11, F12, F13, F14, F15, F16)
where F9: FileSystem, F10: FileSystem, F11: FileSystem, F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 8]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F10, F11, F12, F13, F14, F15, F16> FileSystems<'a> for (F10, F11, F12, F13, F14, F15, F16)
where F10: FileSystem, F11: FileSystem, F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 7]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F11, F12, F13, F14, F15, F16> FileSystems<'a> for (F11, F12, F13, F14, F15, F16)
where F11: FileSystem, F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 6]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F12, F13, F14, F15, F16> FileSystems<'a> for (F12, F13, F14, F15, F16)
where F12: FileSystem, F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 5]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F13, F14, F15, F16> FileSystems<'a> for (F13, F14, F15, F16)
where F13: FileSystem, F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 4]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F14, F15, F16> FileSystems<'a> for (F14, F15, F16)
where F14: FileSystem, F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 3]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F15, F16> FileSystems<'a> for (F15, F16)
where F15: FileSystem, F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 2]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, F16> FileSystems<'a> for (F16,)
where F16: FileSystem,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); 1]

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, T> FileSystems<'a> for [T]
where T: FileSystem + Send,

§

type Iter = Map<Iter<'a, T>, fn(_: &T) -> &(dyn FileSystem + Send + 'static)>

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, T> FileSystems<'a> for Vec<T>
where T: FileSystem + Send,

§

type Iter = <[T] as FileSystems<'a>>::Iter

source§

fn filesystems(&'a self) -> Self::Iter

source§

impl<'a, T, const N: usize> FileSystems<'a> for [T; N]
where T: FileSystem + Send,

§

type Iter = [&'a (dyn FileSystem + Send + 'static); N]

source§

fn filesystems(&'a self) -> Self::Iter

Implementors§