func AsMutableEndpointInfo(ei EndpointInfo) MutableEndpointInfo {
	if v, ok := ei.(MutableEndpointInfo); ok {
		return v
	}
	return nil
}
AsMutableEndpointInfo converts an EnpointInfo into a MutableEndpointInfo. Returns nil if impossible.
package rpcinfo
type Taggable interface {
	SetTag(key, value string) error
}
func AsTaggable(i interface{}) Taggable {
	if v, ok := i.(Taggable); ok {
		return v
	}
	return nil
}