pub struct ProtoBytes { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AsRef<[u8]> for ProtoBytes
impl AsRef<[u8]> for ProtoBytes
Source§impl AsView for ProtoBytes
impl AsView for ProtoBytes
Source§impl Debug for ProtoBytes
impl Debug for ProtoBytes
Source§impl EntityType for ProtoBytes
impl EntityType for ProtoBytes
type Tag = PrimitiveTag
Source§impl From<&[u8]> for ProtoBytes
impl From<&[u8]> for ProtoBytes
Source§fn from(v: &[u8]) -> ProtoBytes
fn from(v: &[u8]) -> ProtoBytes
Converts to this type from the input type.
Source§impl From<ProtoString> for ProtoBytes
impl From<ProtoString> for ProtoBytes
Source§fn from(v: ProtoString) -> Self
fn from(v: ProtoString) -> Self
Converts to this type from the input type.
impl IntoProxied<ProtoBytes> for ProtoBytesCow<'_>
impl IntoProxied<ProtoBytes> for &[u8]
impl<const N: usize> IntoProxied<ProtoBytes> for &[u8; N]
impl IntoProxied<ProtoBytes> for Vec<u8>
impl IntoProxied<ProtoBytes> for &Vec<u8>
impl IntoProxied<ProtoBytes> for Box<[u8]>
impl IntoProxied<ProtoBytes> for Cow<'_, [u8]>
impl IntoProxied<ProtoBytes> for Rc<[u8]>
impl IntoProxied<ProtoBytes> for Arc<[u8]>
Source§impl ProtoObject for ProtoBytes
impl ProtoObject for ProtoBytes
impl SealedInternal for ProtoBytes
impl Send for ProtoBytes
impl Sync for ProtoBytes
Source§impl UpbTypeConversions<PrimitiveTag> for ProtoBytes
impl UpbTypeConversions<PrimitiveTag> for ProtoBytes
fn upb_type() -> CType
fn to_message_value(val: View<'_, ProtoBytes>) -> upb_MessageValue
Source§unsafe fn into_message_value_fuse_if_required(
raw_parent_arena: NonNull<upb_Arena>,
val: ProtoBytes,
) -> upb_MessageValue
unsafe fn into_message_value_fuse_if_required( raw_parent_arena: NonNull<upb_Arena>, val: ProtoBytes, ) -> upb_MessageValue
Safety Read more
Source§unsafe fn from_message_value<'msg>(
msg: upb_MessageValue,
) -> View<'msg, ProtoBytes>
unsafe fn from_message_value<'msg>( msg: upb_MessageValue, ) -> View<'msg, ProtoBytes>
Safety Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ProtoBytes
impl Forget for ProtoBytes
impl Freeze for ProtoBytes
impl Move for ProtoBytes
impl Unpin for ProtoBytes
impl UnsafeUnpin for ProtoBytes
impl UnwindSafe for ProtoBytes
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