Struct rs9p::fcall::DirEntry[][src]

pub struct DirEntry {
    pub qid: Qid,
    pub offset: u64,
    pub typ: u8,
    pub name: String,
}

Directory entry used in Rreaddir

Protocol

9P2000.L

Fields

qid: Qid

Qid for this directory

offset: u64

The index of this entry

typ: u8

Corresponds to d_type of struct dirent

Use 0 if you can’t set this properly. It might be enough.

name: String

Directory name

Implementations

impl DirEntry[src]

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

Trait Implementations

impl Clone for DirEntry[src]

impl Debug for DirEntry[src]

impl Decodable for DirEntry[src]

impl Default for DirEntry[src]

impl Encodable for DirEntry[src]

impl Eq for DirEntry[src]

impl Hash for DirEntry[src]

impl Ord for DirEntry[src]

impl PartialEq<DirEntry> for DirEntry[src]

impl PartialOrd<DirEntry> for DirEntry[src]

impl StructuralEq for DirEntry[src]

impl StructuralPartialEq for DirEntry[src]

Auto Trait Implementations

impl RefUnwindSafe for DirEntry

impl Send for DirEntry

impl Sync for DirEntry

impl Unpin for DirEntry

impl UnwindSafe for DirEntry

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.