pub struct IndexCursor(pub String);
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for IndexCursor
impl Clone for IndexCursor
source§fn clone(&self) -> IndexCursor
fn clone(&self) -> IndexCursor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl CursorType for IndexCursor
impl CursorType for IndexCursor
§type Error = ParseIntError
type Error = ParseIntError
Error type for
decode_cursor
.source§fn decode_cursor(s: &str) -> Result<Self, Self::Error>
fn decode_cursor(s: &str) -> Result<Self, Self::Error>
Decode cursor from string.
source§fn encode_cursor(&self) -> String
fn encode_cursor(&self) -> String
Encode cursor to string.
source§impl From<ChainLength> for IndexCursor
impl From<ChainLength> for IndexCursor
source§fn from(length: InternalChainLength) -> IndexCursor
fn from(length: InternalChainLength) -> IndexCursor
Converts to this type from the input type.
source§impl From<IndexCursor> for String
impl From<IndexCursor> for String
source§fn from(index_cursor: IndexCursor) -> String
fn from(index_cursor: IndexCursor) -> String
Converts to this type from the input type.
source§impl From<u32> for IndexCursor
impl From<u32> for IndexCursor
source§fn from(number: u32) -> IndexCursor
fn from(number: u32) -> IndexCursor
Converts to this type from the input type.
source§impl From<u64> for IndexCursor
impl From<u64> for IndexCursor
source§fn from(number: u64) -> IndexCursor
fn from(number: u64) -> IndexCursor
Converts to this type from the input type.
source§impl TryFrom<IndexCursor> for ChainLength
impl TryFrom<IndexCursor> for ChainLength
source§fn try_from(c: IndexCursor) -> Result<InternalChainLength, Self::Error>
fn try_from(c: IndexCursor) -> Result<InternalChainLength, Self::Error>
Performs the conversion.
source§impl TryFrom<IndexCursor> for u32
impl TryFrom<IndexCursor> for u32
Auto Trait Implementations§
impl RefUnwindSafe for IndexCursor
impl Send for IndexCursor
impl Sync for IndexCursor
impl Unpin for IndexCursor
impl UnwindSafe for IndexCursor
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
§impl<I> IntoResettable<String> for Iwhere
I: Into<String>,
impl<I> IntoResettable<String> for Iwhere I: Into<String>,
§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type