pub struct ByteChunk(/* private fields */);Expand description
Bytes as a program wrote them, or as it’s given them (its stdin, a file written into its sandbox): base64 in JSON, since they needn’t be UTF-8.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ByteChunk
impl<'de> Deserialize<'de> for ByteChunk
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ByteChunk
impl StructuralPartialEq for ByteChunk
Auto Trait Implementations§
impl Forget for ByteChunk
impl Freeze for ByteChunk
impl RefUnwindSafe for ByteChunk
impl Send for ByteChunk
impl Sync for ByteChunk
impl Unpin for ByteChunk
impl UnsafeUnpin for ByteChunk
impl UnwindSafe for ByteChunk
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