Enum img_hash::InvalidBytesError [−][src]
pub enum InvalidBytesError { BytesWrongLength { expected: usize, found: usize, }, Base64(DecodeError), }
Error that can happen constructing a ImageHash
from bytes.
Variants
Byte slice passed to from_bytes
was the wrong length.
Show fields
Base64(DecodeError)
String passed was not valid base64.
Trait Implementations
impl PartialEq<InvalidBytesError> for InvalidBytesError
[src]
impl PartialEq<InvalidBytesError> for InvalidBytesError
[src]fn eq(&self, other: &InvalidBytesError) -> bool
[src]
fn ne(&self, other: &InvalidBytesError) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for InvalidBytesError
impl RefUnwindSafe for InvalidBytesError
impl Send for InvalidBytesError
impl Send for InvalidBytesError
impl Sync for InvalidBytesError
impl Sync for InvalidBytesError
impl Unpin for InvalidBytesError
impl Unpin for InvalidBytesError
impl UnwindSafe for InvalidBytesError
impl UnwindSafe for InvalidBytesError