Struct firestore::errors::FirestoreNetworkError
source · pub struct FirestoreNetworkError {
pub public: FirestoreErrorPublicGenericDetails,
pub message: String,
}Fields§
§public: FirestoreErrorPublicGenericDetails§message: StringImplementations§
source§impl FirestoreNetworkError
impl FirestoreNetworkError
pub fn new(public: FirestoreErrorPublicGenericDetails, message: String) -> Self
pub fn public(&mut self, value: FirestoreErrorPublicGenericDetails) -> &mut Self
pub fn with_public(self, value: FirestoreErrorPublicGenericDetails) -> Self
pub fn message(&mut self, value: String) -> &mut Self
pub fn with_message(self, value: String) -> Self
Trait Implementations§
source§impl Clone for FirestoreNetworkError
impl Clone for FirestoreNetworkError
source§fn clone(&self) -> FirestoreNetworkError
fn clone(&self) -> FirestoreNetworkError
Returns a copy of the value. Read more
1.0.0 · 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 FirestoreNetworkError
impl Debug for FirestoreNetworkError
source§impl Display for FirestoreNetworkError
impl Display for FirestoreNetworkError
source§impl Error for FirestoreNetworkError
impl Error for FirestoreNetworkError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<FirestoreNetworkErrorInit> for FirestoreNetworkError
impl From<FirestoreNetworkErrorInit> for FirestoreNetworkError
source§fn from(value: FirestoreNetworkErrorInit) -> Self
fn from(value: FirestoreNetworkErrorInit) -> Self
Converts to this type from the input type.
source§impl PartialEq<FirestoreNetworkError> for FirestoreNetworkError
impl PartialEq<FirestoreNetworkError> for FirestoreNetworkError
source§fn eq(&self, other: &FirestoreNetworkError) -> bool
fn eq(&self, other: &FirestoreNetworkError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for FirestoreNetworkError
impl StructuralEq for FirestoreNetworkError
impl StructuralPartialEq for FirestoreNetworkError
Auto Trait Implementations§
impl RefUnwindSafe for FirestoreNetworkError
impl Send for FirestoreNetworkError
impl Sync for FirestoreNetworkError
impl Unpin for FirestoreNetworkError
impl UnwindSafe for FirestoreNetworkError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request