pub enum ClientStreamElement<Payload> {
Reply(Payload),
ApplicationEx(Payload),
}
Variants§
Implementations§
source§impl<Payload> ClientStreamElement<Payload>
impl<Payload> ClientStreamElement<Payload>
pub fn payload(&self) -> &Payload
pub fn into_payload(self) -> Payload
Trait Implementations§
Auto Trait Implementations§
impl<Payload> RefUnwindSafe for ClientStreamElement<Payload>where
Payload: RefUnwindSafe,
impl<Payload> Send for ClientStreamElement<Payload>where
Payload: Send,
impl<Payload> Sync for ClientStreamElement<Payload>where
Payload: Sync,
impl<Payload> Unpin for ClientStreamElement<Payload>where
Payload: Unpin,
impl<Payload> UnwindSafe for ClientStreamElement<Payload>where
Payload: UnwindSafe,
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