pub struct BinderFs;Implementations§
Source§impl BinderFs
impl BinderFs
pub fn new_fs( locked: &mut Locked<Unlocked>, current_task: &CurrentTask, options: FileSystemOptions, ) -> Result<FileSystemHandle, Errno>
Trait Implementations§
Source§impl FileSystemOps for BinderFs
impl FileSystemOps for BinderFs
Source§fn statfs(
&self,
_locked: &mut Locked<FileOpsCore>,
_fs: &FileSystem,
_current_task: &CurrentTask,
) -> Result<statfs, Errno>
fn statfs( &self, _locked: &mut Locked<FileOpsCore>, _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 rename(
&self,
_locked: &mut Locked<FileOpsCore>,
_fs: &FileSystem,
_current_task: &CurrentTask,
_old_parent: &Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>,
_old_name: &BStr,
_new_parent: &Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>,
_new_name: &BStr,
_renamed: &Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>,
_replaced: Option<&Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>>,
) -> Result<(), Errno>
fn rename( &self, _locked: &mut Locked<FileOpsCore>, _fs: &FileSystem, _current_task: &CurrentTask, _old_parent: &Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>, _old_name: &BStr, _new_parent: &Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>, _new_name: &BStr, _renamed: &Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>, _replaced: Option<&Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>>, ) -> Result<(), Errno>
Rename the given node. Read more
fn exchange( &self, _fs: &FileSystem, _current_task: &CurrentTask, _node1: &Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>, _parent1: &Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>, _name1: &BStr, _node2: &Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>, _parent2: &Arc<ObjectReleaser<FsNode, FsNodeReleaserAction>>, _name2: &BStr, ) -> 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 crypt_service(&self) -> Option<Arc<CryptService>>
fn crypt_service(&self) -> Option<Arc<CryptService>>
Returns the crypt service associated with this filesystem, if any.
fn sync( &self, _locked: &mut Locked<FileOpsCore>, _fs: &FileSystem, _current_task: &CurrentTask, ) -> Result<(), Errno>
Auto Trait Implementations§
impl Freeze for BinderFs
impl RefUnwindSafe for BinderFs
impl Send for BinderFs
impl Sync for BinderFs
impl Unpin for BinderFs
impl UnsafeUnpin for BinderFs
impl UnwindSafe for BinderFs
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, 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<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]§impl<T> IntoAny for T
impl<T> IntoAny for T
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 moreSource§impl<T, U> MultiArchFrom<T> for Uwhere
U: From<T>,
impl<T, U> MultiArchFrom<T> for Uwhere
U: From<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.