[][src]Struct node_sys::fs::Stats

#[repr(transparent)]
pub struct Stats { /* fields omitted */ }

Methods

impl Stats[src]

pub fn is_block_device(&self) -> bool[src]

impl Stats[src]

impl Stats[src]

pub fn is_directory(&self) -> bool[src]

impl Stats[src]

pub fn is_fifo(&self) -> bool[src]

impl Stats[src]

pub fn is_file(&self) -> bool[src]

impl Stats[src]

pub fn is_socket(&self) -> bool[src]

impl Stats[src]

impl Stats[src]

pub fn dev(&self) -> f64[src]

impl Stats[src]

pub fn ino(&self) -> f64[src]

impl Stats[src]

pub fn mode(&self) -> f64[src]

impl Stats[src]

impl Stats[src]

pub fn uid(&self) -> f64[src]

impl Stats[src]

pub fn gid(&self) -> f64[src]

impl Stats[src]

pub fn rdev(&self) -> f64[src]

impl Stats[src]

pub fn size(&self) -> f64[src]

impl Stats[src]

pub fn blksize(&self) -> f64[src]

impl Stats[src]

pub fn blocks(&self) -> f64[src]

impl Stats[src]

pub fn atime_ms(&self) -> f64[src]

impl Stats[src]

pub fn mtime_ms(&self) -> f64[src]

impl Stats[src]

pub fn ctime_ms(&self) -> f64[src]

impl Stats[src]

pub fn birthtime_ms(&self) -> f64[src]

impl Stats[src]

pub fn atime_ns(&self) -> u64[src]

impl Stats[src]

pub fn mtime_ns(&self) -> u64[src]

impl Stats[src]

pub fn ctime_ns(&self) -> u64[src]

impl Stats[src]

pub fn birthtime_ns(&self) -> u64[src]

impl Stats[src]

pub fn atime(&self) -> Date[src]

impl Stats[src]

pub fn mtime(&self) -> Date[src]

impl Stats[src]

pub fn ctime(&self) -> Date[src]

impl Stats[src]

pub fn birthtime(&self) -> Date[src]

Trait Implementations

impl AsRef<JsValue> for Stats[src]

impl AsRef<Object> for Stats[src]

impl AsRef<Stats> for Stats[src]

impl Clone for Stats[src]

impl Debug for Stats[src]

impl Deref for Stats[src]

type Target = Object

The resulting type after dereferencing.

impl From<JsValue> for Stats[src]

impl From<Stats> for JsValue[src]

impl From<Stats> for Object[src]

impl FromWasmAbi for Stats[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for Stats[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a Stats[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for Stats[src]

impl OptionFromWasmAbi for Stats[src]

impl OptionIntoWasmAbi for Stats[src]

impl<'a> OptionIntoWasmAbi for &'a Stats[src]

impl RefFromWasmAbi for Stats[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<Stats>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl WasmDescribe for Stats[src]

Auto Trait Implementations

impl RefUnwindSafe for Stats

impl !Send for Stats

impl !Sync for Stats

impl Unpin for Stats

impl UnwindSafe for Stats

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> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

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.