pub struct Bundle { /* private fields */ }Expand description
Represents a WebBundle.
Implementations§
source§impl Bundle
impl Bundle
sourcepub fn primary_url(&self) -> &Option<Uri>
pub fn primary_url(&self) -> &Option<Uri>
Gets the primary url.
sourcepub fn from_bytes(bytes: impl AsRef<[u8]>) -> Result<Bundle>
pub fn from_bytes(bytes: impl AsRef<[u8]>) -> Result<Bundle>
Parses the given bytes and returns the parsed Bundle.