pub enum ProviderProto {
    ClientConnected(ClientConnected),
    ClientConnectedNotify(Notify<ClientConnected>),
    ConnectionClosed(ConnectionClosed),
    GetRequestReceived(RequestReceived<GetRequest>),
    GetRequestReceivedNotify(Notify<RequestReceived<GetRequest>>),
    GetManyRequestReceived(RequestReceived<GetManyRequest>),
    GetManyRequestReceivedNotify(Notify<RequestReceived<GetManyRequest>>),
    PushRequestReceived(RequestReceived<PushRequest>),
    PushRequestReceivedNotify(Notify<RequestReceived<PushRequest>>),
    ObserveRequestReceived(RequestReceived<ObserveRequest>),
    ObserveRequestReceivedNotify(Notify<RequestReceived<ObserveRequest>>),
    Throttle(Throttle),
}Variants§
ClientConnected(ClientConnected)
A new client connected to the provider.
ClientConnectedNotify(Notify<ClientConnected>)
A new client connected to the provider. Notify variant.
ConnectionClosed(ConnectionClosed)
A client disconnected from the provider.
GetRequestReceived(RequestReceived<GetRequest>)
A new get request was received from the provider.
GetRequestReceivedNotify(Notify<RequestReceived<GetRequest>>)
A new get request was received from the provider (notify variant).
GetManyRequestReceived(RequestReceived<GetManyRequest>)
A new get many request was received from the provider.
GetManyRequestReceivedNotify(Notify<RequestReceived<GetManyRequest>>)
A new get many request was received from the provider (notify variant).
PushRequestReceived(RequestReceived<PushRequest>)
A new push request was received from the provider.
PushRequestReceivedNotify(Notify<RequestReceived<PushRequest>>)
A new push request was received from the provider (notify variant).
ObserveRequestReceived(RequestReceived<ObserveRequest>)
A new observe request was received from the provider.
ObserveRequestReceivedNotify(Notify<RequestReceived<ObserveRequest>>)
A new observe request was received from the provider (notify variant).
Throttle(Throttle)
Request to throttle sending for a specific data request.
Trait Implementations§
Source§impl Channels<ProviderProto> for ClientConnected
 
impl Channels<ProviderProto> for ClientConnected
Source§impl Channels<ProviderProto> for ConnectionClosed
 
impl Channels<ProviderProto> for ConnectionClosed
Source§impl Channels<ProviderProto> for Notify<ClientConnected>
 
impl Channels<ProviderProto> for Notify<ClientConnected>
Source§impl Channels<ProviderProto> for Notify<RequestReceived<GetManyRequest>>
 
impl Channels<ProviderProto> for Notify<RequestReceived<GetManyRequest>>
Source§impl Channels<ProviderProto> for Notify<RequestReceived<GetRequest>>
 
impl Channels<ProviderProto> for Notify<RequestReceived<GetRequest>>
Source§impl Channels<ProviderProto> for Notify<RequestReceived<ObserveRequest>>
 
impl Channels<ProviderProto> for Notify<RequestReceived<ObserveRequest>>
Source§impl Channels<ProviderProto> for Notify<RequestReceived<PushRequest>>
 
impl Channels<ProviderProto> for Notify<RequestReceived<PushRequest>>
Source§impl Channels<ProviderProto> for RequestReceived<GetManyRequest>
 
impl Channels<ProviderProto> for RequestReceived<GetManyRequest>
Source§impl Channels<ProviderProto> for RequestReceived<GetRequest>
 
impl Channels<ProviderProto> for RequestReceived<GetRequest>
Source§impl Channels<ProviderProto> for RequestReceived<ObserveRequest>
 
impl Channels<ProviderProto> for RequestReceived<ObserveRequest>
Source§impl Channels<ProviderProto> for RequestReceived<PushRequest>
 
impl Channels<ProviderProto> for RequestReceived<PushRequest>
Source§impl Channels<ProviderProto> for Throttle
 
impl Channels<ProviderProto> for Throttle
Source§impl Debug for ProviderProto
 
impl Debug for ProviderProto
Source§impl<'de> Deserialize<'de> for ProviderProto
 
impl<'de> Deserialize<'de> for ProviderProto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ClientConnected> for ProviderProto
 
impl From<ClientConnected> for ProviderProto
Source§fn from(value: ClientConnected) -> Self
 
fn from(value: ClientConnected) -> Self
Converts to this type from the input type.
Source§impl From<ConnectionClosed> for ProviderProto
 
impl From<ConnectionClosed> for ProviderProto
Source§fn from(value: ConnectionClosed) -> Self
 
fn from(value: ConnectionClosed) -> Self
Converts to this type from the input type.
Source§impl From<Notify<ClientConnected>> for ProviderProto
 
impl From<Notify<ClientConnected>> for ProviderProto
Source§fn from(value: Notify<ClientConnected>) -> Self
 
fn from(value: Notify<ClientConnected>) -> Self
Converts to this type from the input type.
Source§impl From<Notify<RequestReceived<GetManyRequest>>> for ProviderProto
 
impl From<Notify<RequestReceived<GetManyRequest>>> for ProviderProto
Source§fn from(value: Notify<RequestReceived<GetManyRequest>>) -> Self
 
fn from(value: Notify<RequestReceived<GetManyRequest>>) -> Self
Converts to this type from the input type.
Source§impl From<Notify<RequestReceived<GetRequest>>> for ProviderProto
 
impl From<Notify<RequestReceived<GetRequest>>> for ProviderProto
Source§fn from(value: Notify<RequestReceived<GetRequest>>) -> Self
 
fn from(value: Notify<RequestReceived<GetRequest>>) -> Self
Converts to this type from the input type.
Source§impl From<Notify<RequestReceived<ObserveRequest>>> for ProviderProto
 
impl From<Notify<RequestReceived<ObserveRequest>>> for ProviderProto
Source§fn from(value: Notify<RequestReceived<ObserveRequest>>) -> Self
 
fn from(value: Notify<RequestReceived<ObserveRequest>>) -> Self
Converts to this type from the input type.
Source§impl From<Notify<RequestReceived<PushRequest>>> for ProviderProto
 
impl From<Notify<RequestReceived<PushRequest>>> for ProviderProto
Source§fn from(value: Notify<RequestReceived<PushRequest>>) -> Self
 
fn from(value: Notify<RequestReceived<PushRequest>>) -> Self
Converts to this type from the input type.
Source§impl From<RequestReceived<GetManyRequest>> for ProviderProto
 
impl From<RequestReceived<GetManyRequest>> for ProviderProto
Source§fn from(value: RequestReceived<GetManyRequest>) -> Self
 
fn from(value: RequestReceived<GetManyRequest>) -> Self
Converts to this type from the input type.
Source§impl From<RequestReceived<GetRequest>> for ProviderProto
 
impl From<RequestReceived<GetRequest>> for ProviderProto
Source§fn from(value: RequestReceived<GetRequest>) -> Self
 
fn from(value: RequestReceived<GetRequest>) -> Self
Converts to this type from the input type.
Source§impl From<RequestReceived<ObserveRequest>> for ProviderProto
 
impl From<RequestReceived<ObserveRequest>> for ProviderProto
Source§fn from(value: RequestReceived<ObserveRequest>) -> Self
 
fn from(value: RequestReceived<ObserveRequest>) -> Self
Converts to this type from the input type.
Source§impl From<RequestReceived<PushRequest>> for ProviderProto
 
impl From<RequestReceived<PushRequest>> for ProviderProto
Source§fn from(value: RequestReceived<PushRequest>) -> Self
 
fn from(value: RequestReceived<PushRequest>) -> Self
Converts to this type from the input type.
Source§impl From<Throttle> for ProviderProto
 
impl From<Throttle> for ProviderProto
Source§impl RemoteService for ProviderProto
 
impl RemoteService for ProviderProto
Source§fn with_remote_channels(self, rx: RecvStream, tx: SendStream) -> Self::Message
 
fn with_remote_channels(self, rx: RecvStream, tx: SendStream) -> Self::Message
Returns the message enum for this request by combining 
self (the protocol enum)
with a pair of QUIC streams for tx and rx channels.Source§impl Serialize for ProviderProto
 
impl Serialize for ProviderProto
Source§impl Service for ProviderProto
 
impl Service for ProviderProto
Source§type Message = ProviderMessage
 
type Message = ProviderMessage
Message enum for this protocol. Read more
Auto Trait Implementations§
impl Freeze for ProviderProto
impl RefUnwindSafe for ProviderProto
impl Send for ProviderProto
impl Sync for ProviderProto
impl Unpin for ProviderProto
impl UnwindSafe for ProviderProto
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