Struct io_arrays::Metadata

source ·
pub struct Metadata { /* private fields */ }
Expand description

Metadata information about an array.

This is somewhat analogous to std::fs::Metadata, however it only includes a few fields, since arrays are more abstract than files.

Implementations§

Returns the size of the array, in bytes, this metadata is for.

Returns the block size for I/O.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Query the “status” flags for the self file descriptor.
Create a new SetFdFlags value for use with set_fd_flags. Read more
Set the “status” flags for the self file descriptor. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.