[][src]Enum bufkit_data::AddFileResult

pub enum AddFileResult {
    Ok(StationNumber),
    New(StationNumber),
    Error(BufkitDataErr),
    IdMovedStation {
        old: StationNumber,
        new: StationNumber,
    },
}

The end result of adding a file to the archive.

Variants

No site conflicts or changes. Includes the site as parsed from the file.

This is a new site and it was added to the database as a new site.

Some error occurred during processing.

IdMovedStation

The site identifier provided with this file has moved to a new station number. The correlation between station numbers has been updated.

Fields of IdMovedStation

old: StationNumber

The site information before the update.

new: StationNumber

The site information as it exists now.

Trait Implementations

impl Debug for AddFileResult[src]

Auto Trait Implementations

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.