pub enum ScoConnectionRequest {
Read {
responder: ScoConnectionReadResponder,
},
Write {
data: Vec<u8>,
responder: ScoConnectionWriteResponder,
},
}
Variants§
Implementations§
source§impl ScoConnectionRequest
impl ScoConnectionRequest
pub fn into_read(self) -> Option<ScoConnectionReadResponder>
pub fn into_write(self) -> Option<(Vec<u8>, ScoConnectionWriteResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ScoConnectionRequest
impl Send for ScoConnectionRequest
impl Sync for ScoConnectionRequest
impl Unpin for ScoConnectionRequest
impl !UnwindSafe for ScoConnectionRequest
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