Enum iroh_blobs::rpc::proto::blobs::BatchAddStreamResponse
source · pub enum BatchAddStreamResponse {
Abort(RpcError),
OutboardProgress {
offset: u64,
},
Result {
hash: Hash,
},
}
Available on crate feature
rpc
only.Expand description
Wrapper around AddProgress
.
Variants§
Trait Implementations§
source§impl Debug for BatchAddStreamResponse
impl Debug for BatchAddStreamResponse
source§impl<'de> Deserialize<'de> for BatchAddStreamResponse
impl<'de> Deserialize<'de> for BatchAddStreamResponse
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<BatchAddStreamResponse> for Response
impl From<BatchAddStreamResponse> for Response
source§fn from(value: BatchAddStreamResponse) -> Self
fn from(value: BatchAddStreamResponse) -> Self
Converts to this type from the input type.
source§impl From<BatchAddStreamResponse> for Response
impl From<BatchAddStreamResponse> for Response
source§fn from(value: BatchAddStreamResponse) -> Self
fn from(value: BatchAddStreamResponse) -> Self
Converts to this type from the input type.
source§impl Serialize for BatchAddStreamResponse
impl Serialize for BatchAddStreamResponse
source§impl<'a> TryFrom<&'a Response> for &'a BatchAddStreamResponse
impl<'a> TryFrom<&'a Response> for &'a BatchAddStreamResponse
source§impl<'a> TryFrom<&'a Response> for &'a BatchAddStreamResponse
impl<'a> TryFrom<&'a Response> for &'a BatchAddStreamResponse
source§impl TryFrom<Response> for BatchAddStreamResponse
impl TryFrom<Response> for BatchAddStreamResponse
Auto Trait Implementations§
impl Freeze for BatchAddStreamResponse
impl RefUnwindSafe for BatchAddStreamResponse
impl Send for BatchAddStreamResponse
impl Sync for BatchAddStreamResponse
impl Unpin for BatchAddStreamResponse
impl UnwindSafe for BatchAddStreamResponse
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