Struct bc_components::URI
source · pub struct URI(/* private fields */);
Expand description
A URI.
Implementations§
Trait Implementations§
source§impl CBORDecodable for URI
impl CBORDecodable for URI
source§impl CBOREncodable for URI
impl CBOREncodable for URI
source§impl CBORTagged for URI
impl CBORTagged for URI
source§impl CBORTaggedDecodable for URI
impl CBORTaggedDecodable for URI
source§fn from_untagged_cbor(cbor: &CBOR) -> Result<Self>
fn from_untagged_cbor(cbor: &CBOR) -> Result<Self>
Creates an instance of this type by decoding it from untagged CBOR.
source§fn from_tagged_cbor(cbor: &CBOR) -> Result<Self, Error>where
Self: Sized,
fn from_tagged_cbor(cbor: &CBOR) -> Result<Self, Error>where Self: Sized,
Creates an instance of this type by decoding it from tagged CBOR.
source§impl CBORTaggedEncodable for URI
impl CBORTaggedEncodable for URI
source§fn untagged_cbor(&self) -> CBOR
fn untagged_cbor(&self) -> CBOR
Returns the untagged CBOR encoding of this instance.
source§fn tagged_cbor(&self) -> CBOR
fn tagged_cbor(&self) -> CBOR
Returns the tagged CBOR encoding of this instance.
impl Eq for URI
impl StructuralEq for URI
impl StructuralPartialEq for URI
Auto Trait Implementations§
impl RefUnwindSafe for URI
impl Send for URI
impl Sync for URI
impl Unpin for URI
impl UnwindSafe for URI
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