pub struct BytesView {
pub data: Vec<u8>,
pub truncated: bool,
}Expand description
Mirrors the WIT bytes-view record from vane:plugin/types@0.1.0.
Fields§
§data: Vec<u8>§truncated: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for BytesView
impl RefUnwindSafe for BytesView
impl Send for BytesView
impl Sync for BytesView
impl Unpin for BytesView
impl UnsafeUnpin for BytesView
impl UnwindSafe for BytesView
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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