pub enum GrpcTransport {
Tcp,
Unix,
}Expand description
Transport accepted by the OTLP gRPC receiver.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GrpcTransport
impl Clone for GrpcTransport
Source§fn clone(&self) -> GrpcTransport
fn clone(&self) -> GrpcTransport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GrpcTransport
impl Debug for GrpcTransport
Source§impl Default for GrpcTransport
impl Default for GrpcTransport
Source§fn default() -> GrpcTransport
fn default() -> GrpcTransport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GrpcTransport
impl<'de> Deserialize<'de> for GrpcTransport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for GrpcTransport
impl FromStr for GrpcTransport
Source§impl PartialEq for GrpcTransport
impl PartialEq for GrpcTransport
Source§impl Serialize for GrpcTransport
impl Serialize for GrpcTransport
impl Copy for GrpcTransport
impl StructuralPartialEq for GrpcTransport
Auto Trait Implementations§
impl Freeze for GrpcTransport
impl RefUnwindSafe for GrpcTransport
impl Send for GrpcTransport
impl Sync for GrpcTransport
impl Unpin for GrpcTransport
impl UnwindSafe for GrpcTransport
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