Enum notedealer::remote::RemoteAccessError
source · [−]pub enum RemoteAccessError {
IdNotAnUri(InvalidUri),
HttpRequest(SendRequestError),
Payload(PayloadError),
InvalidActivityPubObject,
UnexpectedResponse(StatusCode),
}Variants
IdNotAnUri(InvalidUri)
HttpRequest(SendRequestError)
Payload(PayloadError)
InvalidActivityPubObject
UnexpectedResponse(StatusCode)
Trait Implementations
sourceimpl Debug for RemoteAccessError
impl Debug for RemoteAccessError
sourceimpl Display for RemoteAccessError
impl Display for RemoteAccessError
sourceimpl Error for RemoteAccessError
impl Error for RemoteAccessError
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<InvalidUri> for RemoteAccessError
impl From<InvalidUri> for RemoteAccessError
sourcefn from(source: InvalidUri) -> Self
fn from(source: InvalidUri) -> Self
Converts to this type from the input type.
sourceimpl From<PayloadError> for RemoteAccessError
impl From<PayloadError> for RemoteAccessError
sourcefn from(source: PayloadError) -> Self
fn from(source: PayloadError) -> Self
Converts to this type from the input type.
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.
sourceimpl From<SendRequestError> for RemoteAccessError
impl From<SendRequestError> for RemoteAccessError
sourcefn from(source: SendRequestError) -> Self
fn from(source: SendRequestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for RemoteAccessError
impl !Send for RemoteAccessError
impl !Sync for RemoteAccessError
impl Unpin for RemoteAccessError
impl !UnwindSafe for RemoteAccessError
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