Struct ServiceProxy
struct ServiceProxy<L>(L);Available on crate feature
server only.Expand description
Proxy struct that implements the low-level [zlink::Service] trait and
forwards calls to the high-level Lelum trait.
Tuple Fields§
§0: LTrait Implementations§
§impl<L> Service for ServiceProxy<L>where
L: Lelum,
impl<L> Service for ServiceProxy<L>where
L: Lelum,
§type MethodCall<'de> = Method<'de>
type MethodCall<'de> = Method<'de>
The type of method call that this service handles. Read more
§type ReplyParams<'ser> = Reply<'ser>
type ReplyParams<'ser> = Reply<'ser>
The type of the successful reply. Read more
§type ReplyStreamParams = ()
type ReplyStreamParams = ()
The type of the item that [
Service::ReplyStream] will be expected to yield. Read more§type ReplyStream = Empty<Reply<<ServiceProxy<L> as Service>::ReplyStreamParams>>
type ReplyStream = Empty<Reply<<ServiceProxy<L> as Service>::ReplyStreamParams>>
The type of the multi-reply stream. Read more
§type ReplyError<'ser> = LelumError<'ser>
type ReplyError<'ser> = LelumError<'ser>
The type of the error reply. Read more
Auto Trait Implementations§
impl<L> Freeze for ServiceProxy<L>where
L: Freeze,
impl<L> RefUnwindSafe for ServiceProxy<L>where
L: RefUnwindSafe,
impl<L> Send for ServiceProxy<L>where
L: Send,
impl<L> Sync for ServiceProxy<L>where
L: Sync,
impl<L> Unpin for ServiceProxy<L>where
L: Unpin,
impl<L> UnwindSafe for ServiceProxy<L>where
L: 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