pub enum OpKind {
Publish,
Browse,
Resolve,
}
Expand description
OpKind
represents the possible kinds of operation associated with a
ServiceRef
, primarily used for debug and obtained from the OpType
returned by ServiceRef::op_type
.
Variants§
Publish
An operation publishing a service.
Browse
An operation to browse for a given type of service.
Resolve
An operation to resolve a service.
Trait Implementations§
impl Eq for OpKind
impl StructuralPartialEq for OpKind
Auto Trait Implementations§
impl Freeze for OpKind
impl RefUnwindSafe for OpKind
impl Send for OpKind
impl Sync for OpKind
impl Unpin for OpKind
impl UnwindSafe for OpKind
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