[−][src]Enum favy::EncodingError
The error type for operations of the Encode
trait.
Variants
The icon already includes an entry associated with this key.
Resample(ResampleError)
A resampling error.
Methods
impl<K> EncodingError<K> where
K: AsSize + Send + Sync,
[src]
K: AsSize + Send + Sync,
pub fn map<T, F>(self, f: F) -> EncodingError<T> where
F: FnOnce(K) -> T,
T: AsSize + Send + Sync,
[src]
F: FnOnce(K) -> T,
T: AsSize + Send + Sync,
Converts self
to a EncodingError<T>
using f
.
Trait Implementations
impl<K> From<Error> for EncodingError<K> where
K: AsSize + Send + Sync,
[src]
K: AsSize + Send + Sync,
fn from(err: Error) -> EncodingError<K>
[src]
impl<K> From<ResampleError> for EncodingError<K> where
K: AsSize + Send + Sync,
[src]
K: AsSize + Send + Sync,
fn from(err: ResampleError) -> EncodingError<K>
[src]
impl<K> Into<Error> for EncodingError<K> where
K: AsSize + Send + Sync,
[src]
K: AsSize + Send + Sync,
impl<K> Debug for EncodingError<K> where
K: AsSize + Send + Sync + Debug,
[src]
K: AsSize + Send + Sync + Debug,
impl<K> Display for EncodingError<K> where
K: AsSize + Send + Sync,
[src]
K: AsSize + Send + Sync,
impl<K> Error for EncodingError<K> where
K: AsSize + Send + Sync + Debug,
[src]
K: AsSize + Send + Sync + Debug,
Auto Trait Implementations
impl<K> Send for EncodingError<K>
impl<K> Sync for EncodingError<K>
impl<K> Unpin for EncodingError<K> where
K: Unpin,
K: Unpin,
impl<K> !UnwindSafe for EncodingError<K>
impl<K> !RefUnwindSafe for EncodingError<K>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,