Struct tinkerforge::red_brick::StringChunk
source · Fields
error_code: u8
buffer: String
Trait Implementations
sourceimpl Clone for StringChunk
impl Clone for StringChunk
sourcefn clone(&self) -> StringChunk
fn clone(&self) -> StringChunk
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl FromByteSlice for StringChunk
impl FromByteSlice for StringChunk
sourcefn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
sourcefn from_le_bytes(bytes: &[u8]) -> StringChunk
fn from_le_bytes(bytes: &[u8]) -> StringChunk
Deserialize the implementing type from a byte slice.
Auto Trait Implementations
impl RefUnwindSafe for StringChunk
impl Send for StringChunk
impl Sync for StringChunk
impl Unpin for StringChunk
impl UnwindSafe for StringChunk
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more