[][src]Struct factorio_blueprint::version_prefix::VersionPrefixReader

pub struct VersionPrefixReader<R>(_, _);

Implementations

impl<R> VersionPrefixReader<R> where
    R: Read
[src]

pub fn new(version: char, wrapped: R) -> VersionPrefixReader<R>

Notable traits for VersionPrefixReader<R>

impl<R> Read for VersionPrefixReader<R> where
    R: Read
[src]

pub fn had_expected_version(&self) -> Option<bool>[src]

return None when no bytes have been read, or the truth value of the statement "the first byte read matched the expected version".

Trait Implementations

impl<R> Read for VersionPrefixReader<R> where
    R: Read
[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for VersionPrefixReader<R> where
    R: RefUnwindSafe

impl<R> Send for VersionPrefixReader<R> where
    R: Send

impl<R> Sync for VersionPrefixReader<R> where
    R: Sync

impl<R> Unpin for VersionPrefixReader<R> where
    R: Unpin

impl<R> UnwindSafe for VersionPrefixReader<R> where
    R: UnwindSafe

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