pub enum ExternalServiceEvent {
Created(&'static str, Cow<'static, str>),
ApiCall(&'static str, Cow<'static, str>, Cow<'static, str>),
ApiResponse(&'static str, Cow<'static, str>, Cow<'static, str>, Cow<'static, str>, Cow<'static, str>),
ApiError(&'static str, Cow<'static, str>, Cow<'static, str>, Cow<'static, str>, Cow<'static, str>),
Closed(&'static str, Cow<'static, str>, Cow<'static, str>, Cow<'static, str>),
}Expand description
Definition of events related to external api calls outside of the setting service.
Variants§
Created(&'static str, Cow<'static, str>)
Event sent when an external service proxy is created. Contains the protocol name and the timestamp at which the connection was created.
ApiCall(&'static str, Cow<'static, str>, Cow<'static, str>)
Event sent when a call is made on an external service proxy. Contains the protocol name, the stringified request, and the request timestamp.
ApiResponse(&'static str, Cow<'static, str>, Cow<'static, str>, Cow<'static, str>, Cow<'static, str>)
Event sent when a non-error response is received on an external service proxy. Contains the protocol name, the response, the associated stringified request, and the request/response timestamps.
ApiError(&'static str, Cow<'static, str>, Cow<'static, str>, Cow<'static, str>, Cow<'static, str>)
Event sent when an error is received on an external service proxy. Contains the protocol name, the error message, the associated stringified request, and the request/response timestamps.
Closed(&'static str, Cow<'static, str>, Cow<'static, str>, Cow<'static, str>)
Event sent when an external service proxy is closed. Contains the protocol name, the associated stringified request, and the request/response timestamps.
Trait Implementations§
Source§impl Clone for ExternalServiceEvent
impl Clone for ExternalServiceEvent
Source§fn clone(&self) -> ExternalServiceEvent
fn clone(&self) -> ExternalServiceEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExternalServiceEvent
impl Debug for ExternalServiceEvent
Source§impl PartialEq for ExternalServiceEvent
impl PartialEq for ExternalServiceEvent
impl Eq for ExternalServiceEvent
impl StructuralPartialEq for ExternalServiceEvent
Auto Trait Implementations§
impl Freeze for ExternalServiceEvent
impl RefUnwindSafe for ExternalServiceEvent
impl Send for ExternalServiceEvent
impl Sync for ExternalServiceEvent
impl Unpin for ExternalServiceEvent
impl UnwindSafe for ExternalServiceEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more