Crate fidl_fuchsia_io
source ·Macros
Pattern that matches an unknown
ConnectionProtocols
member.Pattern that matches an unknown
Representation
member.Structs
A Stream of incoming requests for AdvisoryLocking
A Stream of incoming requests for Directory1
A Stream of incoming requests for Directory2
A Stream of incoming requests for DirectoryIterator
A Stream of incoming requests for Directory
A Stream of incoming requests for DirectoryWatcher
Auxiliary data for the file representation of a node.
A Stream of incoming requests for File
A Stream of incoming requests for Inotifier
Used by InotifyAddWatch to indicate the server the events to be watched on.
Also used by [
Node.Inotify
] to indicate the types of events
that occurred on server side, to be notified to clients. See InotifyEvent.A Stream of incoming requests for Node1
A Stream of incoming requests for Node2
The fields of ‘attributes’ which are used to update the Node are indicated
by the ‘flags’ argument.
NodeAttributes defines generic information about a filesystem node.
A node may have multiple supported representations when opening, even though
it may have a fixed underlying identity.
A Stream of incoming requests for Node
A Stream of incoming requests for Openable
The common members definition behind [
Rights
] and [Abilities
].
Note that Directory operations are distinct from File operations, with the
exception of some common operations (e.g. GET_ATTRIBUTES
) defined on the
underlying [Node
].A Stream of incoming requests for Readable
Options for requesting rights on the new connection.
A Stream of incoming requests for Writable
Enums
Advisory locking protocol.
Directory defines a node which is capable of containing other Objects.
A [
Node2
] that is capable of containing other nodes.DirectoryWatcher transmits messages from a filesystem server
about events happening in the filesystem. Clients can register
new watchers using the
Directory.Watch
method, where they can
filter which events they want to receive notifications for.A [
Node
] which contains a sequence of bytes of definite length.Inotifier implements the linux Inotify functionality.
It provides a mechanism for monitoring filesystem
events. Inotify can be used to monitor individual files, or to
monitor directories. When a directory is monitored, inotify will
return events for the directory itself, and for files inside the
directory.
Node defines the minimal interface for entities which can be accessed in a filesystem.
Node defines the minimal protocol for entities which can be accessed
in a filesystem.
The reference point for updating the seek offset. See [
File.Seek
].Constants
Nodes which do not have ino values should return this value
from Readdir and GetAttr.
The maximal buffer size which can be transmitted for buffered operations.
This capacity is currently set somewhat arbitrarily.
The maximum length, in bytes, of a single filesystem component.
The maximum length, in bytes, of a single filesystem component.
The maximum length, in bytes, of a filesystem string.
The maximum length, in bytes, of a filesystem path.
The maximum I/O size that is allowed for read/write operations using
byte vectors.
Bits reserved for posix protections. Native fuchsia filesystems
are not required to set bits contained within
MODE_PROTECTION_MASK
,
but filesystems that wish to do so may refer to sys/stat.h for their
definitions.Bits indicating node type. The canonical mechanism to check
for a node type is to take ‘mode’, bitwise AND it with the
MODE_TYPE_MASK
, and check exact equality against a mode type.Flags used when opening a node reference must fall within this mask.
All known rights.
Alias for directory permission alias rw*
Alias for directory permission alias rx*
Alias for directory permission alias r*
Alias for directory permission alias w*
Alias for directory permission alias x*