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

#[repr(C)]
pub struct File {
    pub size: u64,
    pub created_sec: i64,
    pub created_nsec: u32,
    pub modified_sec: i64,
    pub modified_nsec: u32,
    pub user_metadata: *const u8,
    pub user_metadata_len: usize,
    pub data_map_name: XorNameArray,
    pub published: bool,
}

FFI-wrapper for File.

Fields

size: u64

File size in bytes.

created_sec: i64

Creation time (seconds part).

created_nsec: u32

Creation time (nanoseconds part).

modified_sec: i64

Modification time (seconds part).

modified_nsec: u32

Modification time (nanoseconds part).

user_metadata: *const u8

Pointer to the user metadata.

user_metadata_len: usize

Size of the user metadata.

data_map_name: XorNameArray

Name of the ImmutableData containing the content of this file.

published: bool

Published status of the file

Trait Implementations

impl Drop for File[src]

Auto Trait Implementations

impl RefUnwindSafe for File

impl !Send for File

impl !Sync for File

impl Unpin for File

impl UnwindSafe for File

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,