Struct iroh_blobs::rpc::proto::blobs::ReadAtRequest
source · pub struct ReadAtRequest {
pub hash: Hash,
pub offset: u64,
pub len: ReadAtLen,
}
Available on crate feature
rpc
only.Expand description
Get the bytes for a hash
Fields§
§hash: Hash
Hash to get bytes for
offset: u64
Offset to start reading at
len: ReadAtLen
Length of the data to get
Trait Implementations§
source§impl Debug for ReadAtRequest
impl Debug for ReadAtRequest
source§impl<'de> Deserialize<'de> for ReadAtRequest
impl<'de> Deserialize<'de> for ReadAtRequest
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<ReadAtRequest> for Request
impl From<ReadAtRequest> for Request
source§fn from(value: ReadAtRequest) -> Self
fn from(value: ReadAtRequest) -> Self
Converts to this type from the input type.
source§impl From<ReadAtRequest> for Request
impl From<ReadAtRequest> for Request
source§fn from(value: ReadAtRequest) -> Self
fn from(value: ReadAtRequest) -> Self
Converts to this type from the input type.
source§impl Msg<RpcService> for ReadAtRequest
impl Msg<RpcService> for ReadAtRequest
source§impl Serialize for ReadAtRequest
impl Serialize for ReadAtRequest
source§impl ServerStreamingMsg<RpcService> for ReadAtRequest
impl ServerStreamingMsg<RpcService> for ReadAtRequest
§type Response = Result<ReadAtResponse, Error>
type Response = Result<ReadAtResponse, Error>
The type for the response Read more
source§impl<'a> TryFrom<&'a Request> for &'a ReadAtRequest
impl<'a> TryFrom<&'a Request> for &'a ReadAtRequest
source§impl<'a> TryFrom<&'a Request> for &'a ReadAtRequest
impl<'a> TryFrom<&'a Request> for &'a ReadAtRequest
source§impl TryFrom<Request> for ReadAtRequest
impl TryFrom<Request> for ReadAtRequest
Auto Trait Implementations§
impl Freeze for ReadAtRequest
impl RefUnwindSafe for ReadAtRequest
impl Send for ReadAtRequest
impl Sync for ReadAtRequest
impl Unpin for ReadAtRequest
impl UnwindSafe for ReadAtRequest
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