Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitac861e7

Browse files
committed
to_value followup.
1 parent5d758be commitac861e7

File tree

1 file changed

+7
-0
lines changed
  • flutter-engine/src/codec/value

1 file changed

+7
-0
lines changed

‎flutter-engine/src/codec/value/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
usecrate::error::MethodCallError;
12
use std::collections::HashMap;
23
use std::convert::{TryFrom,TryInto};
34

@@ -177,6 +178,12 @@ impl From<serde_json::Error> for Error {
177178
}
178179
}
179180

181+
implFrom<Error>forMethodCallError{
182+
fnfrom(error:Error) ->Self{
183+
Self::from_error(error)
184+
}
185+
}
186+
180187
implTryFrom<serde_json::Value>forValue{
181188
typeError =Error;
182189

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp