Struct libpijul::Inode[][src]

pub struct Inode(_);

A unique identifier for files or directories in the actual file system, to map “files from the graph” to real files.

Implementations

impl Inode[src]

pub const ROOT: Inode[src]

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

Trait Implementations

impl Clone for Inode[src]

impl Copy for Inode[src]

impl Debug for Inode[src]

impl Eq for Inode[src]

impl Hash for Inode[src]

impl Ord for Inode[src]

impl PartialEq<Inode> for Inode[src]

impl PartialOrd<Inode> for Inode[src]

impl Storable for Inode[src]

type PageReferences = Empty<u64>

An iterator over the offsets to pages contained in this value. Only values from this crate can generate non-empty iterators, but combined values (like tuples) must chain the iterators returned by method page_offsets. Read more

impl StructuralEq for Inode[src]

impl StructuralPartialEq for Inode[src]

impl UnsizedStorable for Inode[src]

fn size(&self) -> usize[src]

If Self::SIZE.is_some(), this must return the same value. The default implementation is Self;:SIZE.unwrap().

unsafe fn onpage_size(_: *const u8) -> usize[src]

Read the size from an on-page entry.

unsafe fn write_to_page(&self, p: *mut u8)[src]

Write to a page. Must not overwrite the allocated size, but this isn’t checked (which is why it’s unsafe).

Auto Trait Implementations

impl RefUnwindSafe for Inode

impl Send for Inode

impl Sync for Inode

impl Unpin for Inode

impl UnwindSafe for Inode

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

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