pub struct PrefillObserverError { /* private fields */ }Expand description
Error returned by a prefill observer.
Implementations§
Source§impl PrefillObserverError
impl PrefillObserverError
Sourcepub fn new(message: impl Into<String>) -> PrefillObserverError
pub fn new(message: impl Into<String>) -> PrefillObserverError
Creates a prefill observer error.
Trait Implementations§
Source§impl Clone for PrefillObserverError
impl Clone for PrefillObserverError
Source§fn clone(&self) -> PrefillObserverError
fn clone(&self) -> PrefillObserverError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrefillObserverError
impl Debug for PrefillObserverError
Source§impl Display for PrefillObserverError
impl Display for PrefillObserverError
impl Eq for PrefillObserverError
Source§impl Error for PrefillObserverError
impl Error for PrefillObserverError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<PrefillObserverError> for Error
impl From<PrefillObserverError> for Error
Source§fn from(source: PrefillObserverError) -> Self
fn from(source: PrefillObserverError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrefillObserverError
impl PartialEq for PrefillObserverError
impl StructuralPartialEq for PrefillObserverError
Auto Trait Implementations§
impl Freeze for PrefillObserverError
impl RefUnwindSafe for PrefillObserverError
impl Send for PrefillObserverError
impl Sync for PrefillObserverError
impl Unpin for PrefillObserverError
impl UnsafeUnpin for PrefillObserverError
impl UnwindSafe for PrefillObserverError
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