Struct safe_core::nfs::File [] [src]

pub struct File { /* fields omitted */ }

Representation of a File to be put into the network. Could be any kind of file: text, music, video, etc.

Methods

impl File
[src]

[src]

Create a new instance of FileMetadata

[src]

Construct FFI wrapper for the native rust File, consuming the file.

[src]

Get time of creation

[src]

Get time of modification

[src]

Get the network name of the data containing the data-map of the File

[src]

Get size information

[src]

Get user setteble custom metadata

[src]

Set the data-map name of the File

[src]

Set the size of file

[src]

Set time of creation

[src]

Set time of modification

[src]

User setteble metadata for custom metadata

Trait Implementations

impl Debug for File
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for File
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for File
[src]

impl PartialOrd for File
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for File
[src]

[src]

This method returns an Ordering between self and other. Read more

[src]

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

[src]

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more

impl Clone for File
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl ReprC for File
[src]

C representation of the type

Error type

[src]

Convert to the native rust equivalent by cloning the internal data, preserving self.