pub struct Amf0Encoder { /* private fields */ }Expand description
AMF0 encoder
Implementations§
Source§impl Amf0Encoder
impl Amf0Encoder
Sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Create encoder with specific capacity
Sourcepub fn encode_all(&mut self, values: &[AmfValue])
pub fn encode_all(&mut self, values: &[AmfValue])
Encode multiple values
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Amf0Encoder
impl RefUnwindSafe for Amf0Encoder
impl Send for Amf0Encoder
impl Sync for Amf0Encoder
impl Unpin for Amf0Encoder
impl UnwindSafe for Amf0Encoder
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