Struct rs9p::fcall::p92000::Stat[][src]

pub struct Stat {
    pub typ: u16,
    pub dev: u32,
    pub qid: Qid,
    pub mode: u32,
    pub atime: u32,
    pub mtime: u32,
    pub length: u64,
    pub name: String,
    pub uid: String,
    pub gid: String,
    pub muid: String,
}

Plan 9 Namespace metadata (somewhat like a unix fstat)

NOTE: Defined as Dir in libc.h of Plan 9

Fields

typ: u16

Server type

dev: u32

Server subtype

qid: Qid

Unique id from server

mode: u32

Permissions

atime: u32

Last read time

mtime: u32

Last write time

length: u64

File length

name: String

Last element of path

uid: String

Owner name

gid: String

Group name

muid: String

Last modifier name

Implementations

impl Stat[src]

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

Get the current size of the stat

Trait Implementations

impl Clone for Stat[src]

impl Debug for Stat[src]

impl Eq for Stat[src]

impl Hash for Stat[src]

impl Ord for Stat[src]

impl PartialEq<Stat> for Stat[src]

impl PartialOrd<Stat> for Stat[src]

impl StructuralEq for Stat[src]

impl StructuralPartialEq for Stat[src]

Auto Trait Implementations

impl RefUnwindSafe for Stat

impl Send for Stat

impl Sync for Stat

impl Unpin for Stat

impl UnwindSafe for Stat

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> 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.