Trait streamid::StreamRefExt
source · pub trait StreamRefExt {
fn stream_type(&self) -> StreamType;
fn cid(&self) -> &Cid;
fn at_commit(&self, commit: Cid) -> CommitId;
fn to_base_id(&self) -> StreamId;
fn to_bytes(&self) -> Vec<u8> ⓘ;
fn to_base36_string(&self) -> String { ... }
fn to_url(&self) -> String { ... }
}
Required Methods§
sourcefn stream_type(&self) -> StreamType
fn stream_type(&self) -> StreamType
Get the StreamType
.
sourcefn to_base_id(&self) -> StreamId
fn to_base_id(&self) -> StreamId
Get the StreamId
without the commit.
Provided Methods§
sourcefn to_base36_string(&self) -> String
fn to_base36_string(&self) -> String
Encode the StreamRef
into a string.