[][src]Struct dsf_core::base::Header

pub struct Header { /* fields omitted */ }

Header encodes information for a given page in the database

Methods

impl Header[src]

pub fn new(application_id: u16, kind: Kind, index: u16, flags: Flags) -> Header[src]

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

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

pub fn kind(&self) -> Kind[src]

pub fn flags(&self) -> Flags[src]

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

Trait Implementations

impl Parse for Header[src]

type Output = Header

Output type returned from parsing

type Error = IoError

Error type returned on parse error

impl Encode for Header[src]

type Error = IoError

Error type returned on parse error

impl Clone for Header[src]

impl PartialEq<Header> for Header[src]

impl Debug for Header[src]

impl StructuralPartialEq for Header[src]

Auto Trait Implementations

impl Send for Header

impl Sync for Header

impl Unpin for Header

impl UnwindSafe for Header

impl RefUnwindSafe for Header

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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