pub enum InspectService {
Inspect(InspectRequest, OneshotSender<Result<InspectResponse2, Status>>),
Update(UpdateRequest, OneshotSender<Result<UpdateResponse2, Status>>),
}
Variants§
Inspect(InspectRequest, OneshotSender<Result<InspectResponse2, Status>>)
Update(UpdateRequest, OneshotSender<Result<UpdateResponse2, Status>>)
Implementations§
Trait Implementations§
Source§impl Debug for InspectService
impl Debug for InspectService
Source§impl ServiceRpc for InspectService
impl ServiceRpc for InspectService
Source§fn encode(self, writer: FieldWriter<'_, '_, Resource>) -> Port
fn encode(self, writer: FieldWriter<'_, '_, Resource>) -> Port
Encode the request into a field.
Source§fn compute_size(&mut self, sizer: FieldSizer<'_>)
fn compute_size(&mut self, sizer: FieldSizer<'_>)
Compute the field size of the request.
Auto Trait Implementations§
impl Freeze for InspectService
impl !RefUnwindSafe for InspectService
impl Send for InspectService
impl Sync for InspectService
impl Unpin for InspectService
impl !UnwindSafe for InspectService
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