Struct uefi::proto::device_path::messaging::Uri

source ·
#[repr(C, packed(1))]
pub struct Uri { /* private fields */ }
Expand description

Uniform Resource Identifier (URI) messaging device path node.

Implementations§

source§

impl Uri

source

pub fn value(&self) -> &[u8]

URI as defined by RFC 3986.

Trait Implementations§

source§

impl Debug for Uri

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Pointee for Uri
where [u8]: Pointee,

§

type Metadata = <[u8] as Pointee>::Metadata

The type for metadata in pointers and references to Self.
source§

impl TryFrom<&DevicePathNode> for &Uri

§

type Error = NodeConversionError

The type returned in the event of a conversion error.
source§

fn try_from(node: &DevicePathNode) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl Freeze for Uri

§

impl RefUnwindSafe for Uri

§

impl Send for Uri

§

impl !Sized for Uri

§

impl Sync for Uri

§

impl Unpin for Uri

§

impl UnwindSafe for Uri

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more