Struct iroh_blobs::rpc::proto::blobs::BatchAddStreamRequest
source · pub struct BatchAddStreamRequest {
pub format: BlobFormat,
pub batch: BatchId,
}
Available on crate feature
rpc
only.Expand description
Write a blob from a byte stream
Fields§
§format: BlobFormat
What format to use for the blob
batch: BatchId
Batch to create the temp tag in
Trait Implementations§
source§impl BidiStreamingMsg<RpcService> for BatchAddStreamRequest
impl BidiStreamingMsg<RpcService> for BatchAddStreamRequest
§type Update = BatchAddStreamUpdate
type Update = BatchAddStreamUpdate
The type for request updates Read more
§type Response = BatchAddStreamResponse
type Response = BatchAddStreamResponse
The type for the response Read more
source§impl Debug for BatchAddStreamRequest
impl Debug for BatchAddStreamRequest
source§impl<'de> Deserialize<'de> for BatchAddStreamRequest
impl<'de> Deserialize<'de> for BatchAddStreamRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<BatchAddStreamRequest> for Request
impl From<BatchAddStreamRequest> for Request
source§fn from(value: BatchAddStreamRequest) -> Self
fn from(value: BatchAddStreamRequest) -> Self
Converts to this type from the input type.
source§impl From<BatchAddStreamRequest> for Request
impl From<BatchAddStreamRequest> for Request
source§fn from(value: BatchAddStreamRequest) -> Self
fn from(value: BatchAddStreamRequest) -> Self
Converts to this type from the input type.
source§impl Msg<RpcService> for BatchAddStreamRequest
impl Msg<RpcService> for BatchAddStreamRequest
source§impl Serialize for BatchAddStreamRequest
impl Serialize for BatchAddStreamRequest
source§impl<'a> TryFrom<&'a Request> for &'a BatchAddStreamRequest
impl<'a> TryFrom<&'a Request> for &'a BatchAddStreamRequest
source§impl<'a> TryFrom<&'a Request> for &'a BatchAddStreamRequest
impl<'a> TryFrom<&'a Request> for &'a BatchAddStreamRequest
source§impl TryFrom<Request> for BatchAddStreamRequest
impl TryFrom<Request> for BatchAddStreamRequest
Auto Trait Implementations§
impl Freeze for BatchAddStreamRequest
impl RefUnwindSafe for BatchAddStreamRequest
impl Send for BatchAddStreamRequest
impl Sync for BatchAddStreamRequest
impl Unpin for BatchAddStreamRequest
impl UnwindSafe for BatchAddStreamRequest
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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