pub struct WirePutRequest {
pub id: WireArtifactId,
pub data: Vec<u8>,
}Expand description
Arguments to plugin_put.
Fields§
§id: WireArtifactId§data: Vec<u8>Implementations§
Source§impl WirePutRequest
impl WirePutRequest
pub fn to_bytes(&self) -> Vec<u8> ⓘ
pub fn from_bytes(b: &[u8]) -> Result<Self, DecodeError>
Auto Trait Implementations§
impl Freeze for WirePutRequest
impl RefUnwindSafe for WirePutRequest
impl Send for WirePutRequest
impl Sync for WirePutRequest
impl Unpin for WirePutRequest
impl UnsafeUnpin for WirePutRequest
impl UnwindSafe for WirePutRequest
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