pub enum SendResult {
Success,
BufferFull,
AudioInactive,
}Variants§
Implementations§
Source§impl SendResult
impl SendResult
pub fn unwrap(self)
pub fn is_success(self) -> bool
Trait Implementations§
Source§impl Clone for SendResult
impl Clone for SendResult
Source§fn clone(&self) -> SendResult
fn clone(&self) -> SendResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SendResult
Source§impl Debug for SendResult
impl Debug for SendResult
impl Eq for SendResult
Source§impl PartialEq for SendResult
impl PartialEq for SendResult
Source§fn eq(&self, other: &SendResult) -> bool
fn eq(&self, other: &SendResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SendResult
Auto Trait Implementations§
impl Freeze for SendResult
impl RefUnwindSafe for SendResult
impl Send for SendResult
impl Sync for SendResult
impl Unpin for SendResult
impl UnsafeUnpin for SendResult
impl UnwindSafe for SendResult
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