[][src]Enum pngme::args::Commands

pub enum Commands {
    Encode(EncodeArgs),
    Decode(DecodeArgs),
    Remove(RemoveArgs),
    Print(PrintArgs),
}

Variants

Encode(EncodeArgs)

Encodes a message into a PNG file and saves the result

Decode(DecodeArgs)

Searches for a message hidden in a PNG file and prints the message if one is found

Remove(RemoveArgs)

Removes a chunk from a PNG file and saves the result

Print(PrintArgs)

Prints all of the chunks in a PNG file

Trait Implementations

impl Debug for Commands[src]

impl StructOpt for Commands[src]

impl StructOptInternal for Commands[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.