pub struct AllocatedExtension(Box<[u8]>);Tuple Fields§
§0: Box<[u8]>Implementations§
Source§impl AllocatedExtension
 
impl AllocatedExtension
pub fn new(src: &[u8]) -> Result<AllocatedExtension, InvalidMethod>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for AllocatedExtension
 
impl Clone for AllocatedExtension
Source§fn clone(&self) -> AllocatedExtension
 
fn clone(&self) -> AllocatedExtension
Returns a duplicate 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 Hash for AllocatedExtension
 
impl Hash for AllocatedExtension
Source§impl PartialEq for AllocatedExtension
 
impl PartialEq for AllocatedExtension
impl Eq for AllocatedExtension
impl StructuralPartialEq for AllocatedExtension
Auto Trait Implementations§
impl Freeze for AllocatedExtension
impl RefUnwindSafe for AllocatedExtension
impl Send for AllocatedExtension
impl Sync for AllocatedExtension
impl Unpin for AllocatedExtension
impl UnwindSafe for AllocatedExtension
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