Enum notedealer::activitypub::activity_broker::DerefError
source · [−]pub enum DerefError {
Database(Error),
Remote(RemoteAccessError),
Missing,
}Expand description
Represents an issue while attempting to dereference an object
(deref_obj).
Variants
Database(Error)
Remote(RemoteAccessError)
Missing
Trait Implementations
sourceimpl Debug for DerefError
impl Debug for DerefError
sourceimpl Display for DerefError
impl Display for DerefError
sourceimpl Error for DerefError
impl Error for DerefError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<DerefError> for ActivityBrokeringError
impl From<DerefError> for ActivityBrokeringError
sourcefn from(source: DerefError) -> Self
fn from(source: DerefError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for DerefError
impl From<Error> for DerefError
sourceimpl From<RemoteAccessError> for DerefError
impl From<RemoteAccessError> for DerefError
sourcefn from(source: RemoteAccessError) -> Self
fn from(source: RemoteAccessError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for DerefError
impl !Send for DerefError
impl !Sync for DerefError
impl Unpin for DerefError
impl !UnwindSafe for DerefError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more