Skip to main content

Crate fidl_fuchsia_storage_block

Crate fidl_fuchsia_storage_block 

Source

Modules§

block_ordinals
mapper_ordinals
mapper_session_ordinals
session_ordinals
volume_manager_ordinals

Structs§

BlockConnectMapperRequest
BlockConnectMapperResponder
BlockControlHandle
BlockDestroyResponder
BlockDestroyResponse
BlockEventStream
BlockExtendRequest
BlockExtendResponder
BlockExtendResponse
BlockGetInfoResponder
BlockGetInfoResponse
BlockGetInstanceGuidResponder
BlockGetInstanceGuidResponse
BlockGetMetadataResponder
BlockGetNameResponder
BlockGetNameResponse
BlockGetTypeGuidResponder
BlockGetTypeGuidResponse
BlockGetVolumeInfoResponder
BlockGetVolumeInfoResponse
BlockInfo
BlockIoFlag
Flags which may be attached to FIFO requests.
BlockMarker
BlockOffsetMapping
Describes a re-mapping of a block range. The logical offset is implied by its position in the list passed to [OpenSessionWithOptions], which is a logically contiguous list of mappings. Note that all fields are in blocks, not bytes.
BlockOpenSessionRequest
BlockOpenSessionWithOptionsRequest
BlockProxy
BlockQuerySlicesRequest
BlockQuerySlicesResponder
BlockQuerySlicesResponse
BlockRequestStream
A Stream of incoming requests for fuchsia.storage.block/Block.
BlockShrinkRequest
BlockShrinkResponder
BlockShrinkResponse
BlockSynchronousProxy
CreateVmoOptions
Options for MapperSession.CreateVmo.
DeviceFlag
Guid
A Globally Unique IDentifier, which may be utilized to identify a partition.
MapperControlHandle
MapperEventStream
MapperMarker
MapperOpenSessionRequest
MapperOpenSessionResponder
MapperProxy
MapperRequestStream
A Stream of incoming requests for fuchsia.storage.block/Mapper.
MapperSessionCloseResponder
MapperSessionControlHandle
MapperSessionCreateVmoRequest
MapperSessionCreateVmoResponder
MapperSessionCreateVmoResponse
MapperSessionEventStream
MapperSessionMarker
MapperSessionOpenChildSessionRequest
MapperSessionOpenChildSessionResponder
MapperSessionProxy
MapperSessionRequestStream
A Stream of incoming requests for fuchsia.storage.block/MapperSession.
MapperSessionSynchronousProxy
MapperSynchronousProxy
PartitionInfo
Metadata describing a partition.
SessionAttachVmoRequest
SessionAttachVmoResponder
SessionAttachVmoResponse
SessionCloseResponder
SessionControlHandle
SessionEventStream
SessionGetFifoResponder
SessionGetFifoResponse
SessionMarker
SessionProxy
SessionRequestStream
A Stream of incoming requests for fuchsia.storage.block/Session.
SessionSynchronousProxy
VmoId
VolumeInfo
VolumeManagerActivateRequest
VolumeManagerActivateResponder
VolumeManagerActivateResponse
VolumeManagerAllocatePartitionRequest
VolumeManagerAllocatePartitionResponder
VolumeManagerAllocatePartitionResponse
VolumeManagerControlHandle
VolumeManagerEventStream
VolumeManagerGetInfoResponder
VolumeManagerGetInfoResponse
VolumeManagerGetPartitionLimitRequest
VolumeManagerGetPartitionLimitResponder
VolumeManagerGetPartitionLimitResponse
VolumeManagerInfo
VolumeManagerInfo describes the properties of the volume manager and not each individual volume.
VolumeManagerMarker
VolumeManagerProxy
VolumeManagerRequestStream
A Stream of incoming requests for fuchsia.storage.block/VolumeManager.
VolumeManagerSetPartitionLimitRequest
VolumeManagerSetPartitionLimitResponder
VolumeManagerSetPartitionLimitResponse
VolumeManagerSetPartitionNameRequest
VolumeManagerSetPartitionNameResponder
VolumeManagerSynchronousProxy
VsliceRange
VsliceRange describes a range of virtual slices: start, length, and allocated status.

Enums§

BlockEvent
BlockOpcode
The opcode used in FIFO requests.
BlockRequest
Defines access to a device which is accessible in block-granularity chunks for reading and writing.
MapperEvent
MapperRequest
Exposed by the block driver, routed via fshost to pkg-cache.
MapperSessionEvent
MapperSessionRequest
Represents an active driver mapping session.
SessionEvent
SessionRequest
Represents a session with a block device.
VolumeManagerEvent
VolumeManagerRequest
VolumeManager controls a collection of Volumes.

Constants§

ALLOCATE_PARTITION_FLAG_INACTIVE
Indicates that the partition should be created as inactive, implying that it will be destroyed on reboot (unless activated by a call to “Activate”).
GUID_LENGTH
MAX_DECOMPRESSED_BYTES
The maximum amount of data that can be decompressed in a single group of decompression operations.
MAX_MAPPINGS
The maximum number of block offset mappings that can be provided when opening a session. This limit is arbitrary and can be increased if needed.
MAX_SLICE_REQUESTS
An arbitrary cap on the number of slices which may be requested when querying for allocation information from a volume.
MAX_TRANSFER_UNBOUNDED
The maximum value for a transfer size, identifying that there effectively exists no maximum for a single operation.
MAX_TXN_GROUP_COUNT
Multiple block I/O operations may be sent at once before a response is actually sent back. Block I/O ops may be sent concurrently to different vmoids, and they also may be sent to different groups at any point in time.
NAME_LENGTH
VMOID_INVALID
Value reserved for “invalid” VmoId. Will never be allocated by the server, and may be utilized as a local value for an unallocated ID.

Traits§

BlockProxyInterface
MapperProxyInterface
MapperSessionProxyInterface
SessionProxyInterface
VolumeManagerProxyInterface

Type Aliases§

BlockConnectMapperResult
BlockGetInfoResult
BlockGetMetadataResult
MapperOpenSessionResult
MapperSessionCreateVmoResult
MapperSessionOpenChildSessionResult
SessionAttachVmoResult
SessionGetFifoResult
VolumeManagerSetPartitionNameResult