pub enum DescriptorString {
String(String),
Bytes(Vec<u8>),
}Variants§
Implementations§
Source§impl DescriptorString
impl DescriptorString
pub fn empty() -> Self
pub fn string_type(&self) -> u8
Trait Implementations§
Source§impl Debug for DescriptorString
impl Debug for DescriptorString
Auto Trait Implementations§
impl Freeze for DescriptorString
impl RefUnwindSafe for DescriptorString
impl Send for DescriptorString
impl Sync for DescriptorString
impl Unpin for DescriptorString
impl UnwindSafe for DescriptorString
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