pub enum Error<CE> {
TooLongData,
Callback(CE),
}Variants§
Implementations§
Source§impl<CE> Error<CE>
impl<CE> Error<CE>
pub fn unwrap_callback(self) -> CE
Trait Implementations§
Auto Trait Implementations§
impl<CE> Freeze for Error<CE>where
CE: Freeze,
impl<CE> RefUnwindSafe for Error<CE>where
CE: RefUnwindSafe,
impl<CE> Send for Error<CE>where
CE: Send,
impl<CE> Sync for Error<CE>where
CE: Sync,
impl<CE> Unpin for Error<CE>where
CE: Unpin,
impl<CE> UnwindSafe for Error<CE>where
CE: UnwindSafe,
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