Enum yenc::EncodeError [−][src]
pub enum EncodeError { PartNumberMissing, PartBeginOffsetMissing, PartEndOffsetMissing, PartOffsetsInvalidRange, IoError(Error), }
Error enum for errors that can be encountered when validating the encode options or while encoding.
Variants
PartNumberMissing
Multiple parts (parts > 1), but no part number specified
PartBeginOffsetMissing
Multiple parts (parts > 1), but no begin offset specified
PartEndOffsetMissing
Multiple parts (parts > 1), but no end offset specified
PartOffsetsInvalidRange
Multiple parts (parts > 1), and begin offset larger than end offset
IoError(Error)
I/O Error
Trait Implementations
impl Debug for EncodeError
[src]
impl Debug for EncodeError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for EncodeError
[src]
impl From<Error> for EncodeError
fn from(error: Error) -> EncodeError
[src]
fn from(error: Error) -> EncodeError
Performs the conversion.
impl Display for EncodeError
[src]
impl Display for EncodeError
Auto Trait Implementations
impl Send for EncodeError
impl Send for EncodeError
impl Sync for EncodeError
impl Sync for EncodeError