pub struct RemoteVolume<I> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<I: SyncIo> FileSystemOps for RemoteVolume<I>
impl<I: SyncIo> FileSystemOps for RemoteVolume<I>
Source§fn statfs(
&self,
fs: &FileSystem,
current_task: &CurrentTask,
) -> Result<statfs, Errno>
fn statfs( &self, fs: &FileSystem, current_task: &CurrentTask, ) -> Result<statfs, Errno>
Return information about this filesystem. Read more
fn name(&self) -> &'static FsStr
Source§fn uses_external_node_ids(&self) -> bool
fn uses_external_node_ids(&self) -> bool
Whether this file system uses external node IDs. Read more
Source§fn has_casefold_support(&self) -> bool
fn has_casefold_support(&self) -> bool
Returns whether this filesystem supports casefolded directory lookups.
Source§fn rename(
&self,
fs: &FileSystem,
current_task: &CurrentTask,
context: &mut RenameContext<'_>,
old_name: &FsStr,
new_name: &FsStr,
) -> Result<(), Errno>
fn rename( &self, fs: &FileSystem, current_task: &CurrentTask, context: &mut RenameContext<'_>, old_name: &FsStr, new_name: &FsStr, ) -> Result<(), Errno>
Rename the given node. Read more
fn sync(&self, fs: &FileSystem, current_task: &CurrentTask) -> Result<(), Errno>
Source§fn crypt_service(&self) -> Option<Arc<CryptService>>
fn crypt_service(&self) -> Option<Arc<CryptService>>
Returns the crypt service associated with this filesystem, if any.
fn drop_caches(&self, _fs: &FileSystem) -> Result<(), Errno>
Source§fn fs_lockdep_type(&self) -> FsLockDepType
fn fs_lockdep_type(&self) -> FsLockDepType
Returns the
FsLockDepType of this filesystem. Read moreSource§fn reconfigure(
&self,
fs: &FileSystem,
_current_task: &CurrentTask,
new_flags: FileSystemFlags,
params: &MountParams,
) -> Result<(), Errno>
fn reconfigure( &self, fs: &FileSystem, _current_task: &CurrentTask, new_flags: FileSystemFlags, params: &MountParams, ) -> Result<(), Errno>
Reconfigure the filesystem with the given flags and mount parameters. Read more
Source§fn show_options(&self, fs: &FileSystem) -> Result<FsString, Errno>
fn show_options(&self, fs: &FileSystem) -> Result<FsString, Errno>
Returns filesystem-specific mount options to display in
/proc/mounts and
/proc/[pid]/mountinfo (each preceded by a leading comma, e.g. ",gid=3009,hidepid=invisible").Source§fn default_blksize(&self) -> Option<usize>
fn default_blksize(&self) -> Option<usize>
Returns the default block size (
st_blksize) for nodes in this filesystem, if any.Source§fn exchange(
&self,
_fs: &FileSystem,
_current_task: &CurrentTask,
_context: &mut RenameContext<'_>,
_name1: &FsStr,
_name2: &FsStr,
) -> Result<(), Errno>
fn exchange( &self, _fs: &FileSystem, _current_task: &CurrentTask, _context: &mut RenameContext<'_>, _name1: &FsStr, _name2: &FsStr, ) -> Result<(), Errno>
Source§fn manages_timestamps(&self) -> bool
fn manages_timestamps(&self) -> bool
Indicates if the filesystem can manage the timestamps (i.e. ctime and mtime). Read more
Source§fn sub_filesystems(&self) -> Vec<Arc<FileSystem>>
fn sub_filesystems(&self) -> Vec<Arc<FileSystem>>
Returns any underlying filesystems wrapped by this filesystem (e.g. OverlayFs lower/upper).
Auto Trait Implementations§
impl<I> !RefUnwindSafe for RemoteVolume<I>
impl<I> !UnwindSafe for RemoteVolume<I>
impl<I> Freeze for RemoteVolume<I>
impl<I> Send for RemoteVolume<I>
impl<I> Sync for RemoteVolume<I>
impl<I> Unpin for RemoteVolume<I>
impl<I> UnsafeUnpin for RemoteVolume<I>where
RemoteFs<I>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]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