#[repr(C, u8)]pub enum ResultU8VecEncodeImageError {
Ok(U8Vec),
Err(EncodeImageError),
}Variants§
Ok(U8Vec)
Err(EncodeImageError)
Implementations§
Source§impl ResultU8VecEncodeImageError
impl ResultU8VecEncodeImageError
pub fn into_result(&self) -> Result<U8Vec, EncodeImageError>
Trait Implementations§
Source§impl Clone for ResultU8VecEncodeImageError
impl Clone for ResultU8VecEncodeImageError
Source§fn clone(&self) -> ResultU8VecEncodeImageError
fn clone(&self) -> ResultU8VecEncodeImageError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResultU8VecEncodeImageError
impl Debug for ResultU8VecEncodeImageError
Source§impl From<Result<U8Vec, EncodeImageError>> for ResultU8VecEncodeImageError
impl From<Result<U8Vec, EncodeImageError>> for ResultU8VecEncodeImageError
Source§fn from(o: Result<U8Vec, EncodeImageError>) -> ResultU8VecEncodeImageError
fn from(o: Result<U8Vec, EncodeImageError>) -> ResultU8VecEncodeImageError
Converts to this type from the input type.
Source§impl From<ResultU8VecEncodeImageError> for Result<U8Vec, EncodeImageError>
impl From<ResultU8VecEncodeImageError> for Result<U8Vec, EncodeImageError>
Source§fn from(o: ResultU8VecEncodeImageError) -> Result<U8Vec, EncodeImageError>
fn from(o: ResultU8VecEncodeImageError) -> Result<U8Vec, EncodeImageError>
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResultU8VecEncodeImageError
impl RefUnwindSafe for ResultU8VecEncodeImageError
impl Send for ResultU8VecEncodeImageError
impl Sync for ResultU8VecEncodeImageError
impl Unpin for ResultU8VecEncodeImageError
impl UnwindSafe for ResultU8VecEncodeImageError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more