pub enum Ref<'de> {
Bool(&'de bool),
Uint8(&'de u8),
Uint16(&'de WireU16),
Uint32(&'de WireU32),
Uint64(&'de WireU64),
Int8(&'de i8),
Int16(&'de WireI16),
Int32(&'de WireI32),
Int64(&'de WireI64),
String(&'de WireString<'de>),
UnknownOrdinal_(u64),
}
Variants§
Bool(&'de bool)
Uint8(&'de u8)
Uint16(&'de WireU16)
Uint32(&'de WireU32)
Uint64(&'de WireU64)
Int8(&'de i8)
Int16(&'de WireI16)
Int32(&'de WireI32)
Int64(&'de WireI64)
String(&'de WireString<'de>)
UnknownOrdinal_(u64)
Auto Trait Implementations§
impl<'de> Freeze for Ref<'de>
impl<'de> RefUnwindSafe for Ref<'de>
impl<'de> Send for Ref<'de>
impl<'de> Sync for Ref<'de>
impl<'de> Unpin for Ref<'de>
impl<'de> UnwindSafe for Ref<'de>
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