pub fn from_token_stream(tokens: TokenStream) -> TracersResult<ProviderInitSpecification> {
        match syn::parse2::<syn::Path>(tokens) {
            Ok(path) => Self::from_path(path),
            Err(e) => Err(TracersError::syn_error("Expected a type path", e)),
        }
    }
/// Parses a token stream directly from the compiler, decomposing it into the details of the
/// provider
Parses a token stream directly from the compiler, decomposing it into the details of the
provider
Parses a token stream directly from the compiler decomposing it into the details of the provider
pub fn from_token_stream(tokens: TokenStream) -> TracersResult<ProviderInitSpecification> {
        match syn::parse2::<syn::Path>(tokens) {
            Ok(path) => Self::from_path(path),
            Err(e) => Err(TracersError::syn_error("Expected a type path", e)),
        }
    }
pub fn from_token_stream ( tokens : TokenStream ) -> TracersResult < ProviderInitSpecification > { match syn :: parse2 :: < syn :: Path > ( tokens ) { Ok ( path ) => Self :: from_path ( path ) , Err ( e ) => Err ( TracersError :: syn_error ( " " , e ) ) , } }
Parses a token stream directly from the compiler, decomposing it into the details of the
provider
Parses a token stream directly from the compiler decomposing it into the details of the provider
tokens
TokenStream
tokens
TokenStream