pub enum EncodingPuppetRequest {
Encode {
record: Record,
responder: EncodingPuppetEncodeResponder,
},
}
Variants§
Encode
Log takes a record and converts it into a buffer. Returns an error if record contains unsupported type
Implementations§
Source§impl EncodingPuppetRequest
impl EncodingPuppetRequest
pub fn into_encode(self) -> Option<(Record, EncodingPuppetEncodeResponder)>
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 Freeze for EncodingPuppetRequest
impl !RefUnwindSafe for EncodingPuppetRequest
impl Send for EncodingPuppetRequest
impl Sync for EncodingPuppetRequest
impl Unpin for EncodingPuppetRequest
impl !UnwindSafe for EncodingPuppetRequest
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